aboutsummaryrefslogtreecommitdiffstats
path: root/slack/log.py
diff options
context:
space:
mode:
Diffstat (limited to 'slack/log.py')
-rw-r--r--slack/log.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/slack/log.py b/slack/log.py
index f65a095..d7b6843 100644
--- a/slack/log.py
+++ b/slack/log.py
@@ -1,6 +1,6 @@
from enum import IntEnum
-import globals
+import globals as G
import weechat
@@ -15,7 +15,7 @@ class LogLevel(IntEnum):
# TODO: Figure out what to do with print_error vs log
def print_error(message: str):
- weechat.prnt("", f"{weechat.prefix('error')}{globals.SCRIPT_NAME}: {message}")
+ weechat.prnt("", f"{weechat.prefix('error')}{G.SCRIPT_NAME}: {message}")
def log(level: LogLevel, message: str):