diff options
author | MaZderMind <git@mazdermind.de> | 2015-09-02 15:08:49 +0200 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2015-09-02 15:08:49 +0200 |
commit | c61fe2b667079168387376da1c09823967476b21 (patch) | |
tree | 4e281f520c228b0525df403706903962d6c84da9 /voctocore/lib/notifications.py | |
parent | 46aace37db5c035a6d6b432db261dc7c417456f4 (diff) |
refactor commands and notify code
Diffstat (limited to 'voctocore/lib/notifications.py')
-rw-r--r-- | voctocore/lib/notifications.py | 14 |
1 files changed, 0 insertions, 14 deletions
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) |