missed a closing paren
This commit is contained in:
parent
80050e3e40
commit
c7542b89f5
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -152,7 +152,7 @@ if __name__ == "__main__":
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
ts = client.chat_postMessage(channel=chan, text=msg)['ts']
|
ts = client.chat_postMessage(channel=chan, text=msg)['ts']
|
||||||
print(f"[INFO] Message sent (to the channel)! (TS ID: {ts}")
|
print(f"[INFO] Message sent (to the channel)! (TS ID: {ts})")
|
||||||
except Exception as E:
|
except Exception as E:
|
||||||
print("[WARN] Exception:")
|
print("[WARN] Exception:")
|
||||||
for line in format_exc().split("\n")[:-1]:
|
for line in format_exc().split("\n")[:-1]:
|
||||||
|
|
Loading…
Reference in a new issue