From c61fe2b667079168387376da1c09823967476b21 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Wed, 2 Sep 2015 15:08:49 +0200 Subject: refactor commands and notify code --- voctocore/lib/notifications.py | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 voctocore/lib/notifications.py (limited to 'voctocore/lib/notifications.py') diff --git a/voctocore/lib/notifications.py b/voctocore/lib/notifications.py deleted file mode 100644 index 1e101e1..0000000 --- a/voctocore/lib/notifications.py +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/python3 - -# If you know a better way to do this, go for it... - -import logging - -log = logging.getLogger("Notifications") -controlserver = None - -def notify_all(msg): - try: - controlserver.notify_all(msg) - except Exception as e: - log.warn(e) -- cgit v1.2.3