1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Default arg for post in controllers

This commit is contained in:
Julien Duponchelle 2016-03-10 10:57:14 +01:00
parent 58f1abff35
commit 65de1b7b5e
No known key found for this signature in database
GPG Key ID: F1E2485547D4595D

View File

@ -97,5 +97,5 @@ class Hypervisor:
return body
@asyncio.coroutine
def post(self, path, data):
def post(self, path, data={}):
yield from self._httpQuery("POST", path, data)