From 8094d335def2c09642d00b43ab31d133bd90a35e Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Wed, 5 Jun 2024 13:13:26 -0500 Subject: [PATCH] It's a function, not a variable --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index cd1d67e..10eef24 100644 --- a/main.py +++ b/main.py @@ -119,7 +119,7 @@ if __name__ == "__main__": ts = found["ts"] except Exception as E: print("[WARN] Exception:") - for line in format_exc: + for line in format_exc(): print(f"[WARN] {line}") break else: @@ -139,7 +139,7 @@ if __name__ == "__main__": print("[INFO] Message sent (to the thread)!") except Exception as E: print("[WARN] Exception:") - for line in format_exc: + for line in format_exc(): print(f"[WARN] {line}") break except KeyboardInterrupt: @@ -154,7 +154,7 @@ if __name__ == "__main__": print("[INFO] Message sent (to the channel)!") except Exception as E: print("[WARN] Exception:") - for line in format_exc: + for line in format_exc(): print(f"[WARN] {line}") break except KeyboardInterrupt: