We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abc165d commit d3a14ccCopy full SHA for d3a14cc
src/bap.py
@@ -305,11 +305,10 @@ def dumps(self,dic):
305
306
def call(self, data):
307
if isinstance(data, dict):
308
- method = request.post
309
- return jsons(method(self.url, data=self.dumps(data)))
+ return jsons(request.post(self.url, data=self.dumps(data)))
310
else:
311
gen = (self.dumps(msg) for msg in data)
312
- return jsons(request.post(self.uri, data=gen))
+ return jsons(request.post(self.url, data=gen))
313
314
315
def mmap(self, data):
0 commit comments