Skip to content

Commit

Permalink
Update owl_logo.py for new config.json format
Browse files Browse the repository at this point in the history
Update import in notifications.py
  • Loading branch information
simonl169 committed Oct 18, 2024
1 parent 9661914 commit a2563b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion owl/notifications.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import requests
from .config import load_config
from owl.config import load_config


class Notifier:
Expand Down
2 changes: 1 addition & 1 deletion owl/owl_logo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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!")

Expand Down

0 comments on commit a2563b6

Please sign in to comment.