diff options
Diffstat (limited to 'slack/log.py')
-rw-r--r-- | slack/log.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slack/log.py b/slack/log.py index 21b6434..10dc803 100644 --- a/slack/log.py +++ b/slack/log.py @@ -2,7 +2,7 @@ from enum import IntEnum import weechat -from . import globals as G +from .shared import shared class LogLevel(IntEnum): @@ -16,7 +16,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')}{G.SCRIPT_NAME}: {message}") + weechat.prnt("", f"{weechat.prefix('error')}{shared.SCRIPT_NAME}: {message}") def log(level: LogLevel, message: str): |