mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Default arg for post in controllers
This commit is contained in:
parent
58f1abff35
commit
65de1b7b5e
@ -97,5 +97,5 @@ class Hypervisor:
|
|||||||
return body
|
return body
|
||||||
|
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def post(self, path, data):
|
def post(self, path, data={}):
|
||||||
yield from self._httpQuery("POST", path, data)
|
yield from self._httpQuery("POST", path, data)
|
||||||
|
Loading…
Reference in New Issue
Block a user