diff --git a/owl/notifications.py b/owl/notifications.py index ae1fe1b..48dbcd3 100644 --- a/owl/notifications.py +++ b/owl/notifications.py @@ -1,5 +1,5 @@ import requests -from .config import load_config +from owl.config import load_config class Notifier: diff --git a/owl/owl_logo.py b/owl/owl_logo.py index 88f3c94..d65a29c 100644 --- a/owl/owl_logo.py +++ b/owl/owl_logo.py @@ -46,7 +46,7 @@ def starting_message(): def send_start_notification(): - if load_config('./config.json')['ENABLE_NOTIFICATIONS']: + if load_config('./config.json')['NOTIFICATIONS']['ENABLE_NOTIFICATIONS']: notification_service = Notifier() notification_service.send_success(f"\tStarting DNS-Owl service!")