Default arg for post in controllers

This commit is contained in:
Julien Duponchelle committed 2016-03-10 10:57:14 +01:00
1 parent 58f1abff35
commit 65de1b7b5e
1 file changed
+1 -1
+1 -1
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)