Bug fixes

This commit is contained in:
Jacob Henry 2019-03-02 23:27:09 -05:00
parent 7236ab8034
commit 0d19d87759
1 changed files with 3 additions and 3 deletions

View File

@ -315,9 +315,9 @@ class ClientWrapper(object):
# Asynchronously serve that boy up
runner = web.AppRunner(app)
await runner.setup()
site = web.TCPSite(runner, 'localhost', 31019)
site = web.TCPSite(runner, port=31019)
await site.start()
# print("Server up")
print("Server up")
# while True:
# await asyncio.sleep(30)
@ -418,7 +418,7 @@ class ClientWrapper(object):
if blocks:
kwargs["blocks"] = blocks
return self.api_call("chat.postMessage", **kwargs)
return self.api_call(api_method, **kwargs)
def send_message(self,
text: str,