Bug fixes
This commit is contained in:
parent
7236ab8034
commit
0d19d87759
|
|
@ -315,9 +315,9 @@ class ClientWrapper(object):
|
||||||
# Asynchronously serve that boy up
|
# Asynchronously serve that boy up
|
||||||
runner = web.AppRunner(app)
|
runner = web.AppRunner(app)
|
||||||
await runner.setup()
|
await runner.setup()
|
||||||
site = web.TCPSite(runner, 'localhost', 31019)
|
site = web.TCPSite(runner, port=31019)
|
||||||
await site.start()
|
await site.start()
|
||||||
# print("Server up")
|
print("Server up")
|
||||||
# while True:
|
# while True:
|
||||||
# await asyncio.sleep(30)
|
# await asyncio.sleep(30)
|
||||||
|
|
||||||
|
|
@ -418,7 +418,7 @@ class ClientWrapper(object):
|
||||||
if blocks:
|
if blocks:
|
||||||
kwargs["blocks"] = blocks
|
kwargs["blocks"] = blocks
|
||||||
|
|
||||||
return self.api_call("chat.postMessage", **kwargs)
|
return self.api_call(api_method, **kwargs)
|
||||||
|
|
||||||
def send_message(self,
|
def send_message(self,
|
||||||
text: str,
|
text: str,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue