mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 22:41:12 +02:00
Do not automatically connect to local compute.
This commit is contained in:
1 parent
a92c47b310
commit
13da8aa8f5
3 files changed
+7
-6
No files matched your search
@@ -501,7 +501,8 @@ class Compute:
|
||||
async def _run_http_query(self, method, path, data=None, timeout=20, raw=False):
|
||||
with async_timeout.timeout(timeout):
|
||||
url = self._getUrl(path)
|
||||
headers = {'content-type': 'application/json'}
|
||||
headers = {}
|
||||
headers['content-type'] = 'application/json'
|
||||
chunked = None
|
||||
if data == {}:
|
||||
data = None
|
||||
|
||||
Reference in new issue
Block a user