Browse Source

Add a tag before notifications

Olivier Marty 8 years ago
parent
commit
9c72714cfd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      notification.py

+ 1 - 1
notification.py

@@ -18,6 +18,6 @@ def notify(message):
      elif method == 'sendmail':
         run(['mail', '-s', conf['sendmail']['object'], conf['sendmail']['to']], input=message.encode(), check=True)
      elif method == 'print':
-        print(message)
+        print("[NOTIFICATION] " + message)
      else:
         raise NotImplementedError('notification method = ' + method + ' not known !')