aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRahiel Kasim <rahielkasim@gmail.com>2018-01-01 14:15:33 +0100
committerRahiel Kasim <rahielkasim@gmail.com>2018-01-01 14:22:45 +0100
commit80dc10fa2a69d4b8d4a4964bf596c270181bd7cc (patch)
tree0402ad3d25a396a68844678a6445133128b68d73
parent4400ab5c12bb67d0fe86f4e4719fa53c76f07c17 (diff)
fix for partial function
-rw-r--r--supervisor_alert.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/supervisor_alert.py b/supervisor_alert.py
index be28092..72966dc 100644
--- a/supervisor_alert.py
+++ b/supervisor_alert.py
@@ -23,7 +23,7 @@ from subprocess import CalledProcessError, check_call
from supervisor.childutils import listener, get_headers
-__version__ = "0.6"
+__version__ = "0.6.2"
telegram_conf_args = ["--config", "/etc/telegram-send.conf"]
@@ -63,7 +63,7 @@ def main():
message = process_name + " has entered state " + event_name
if args.show_hostname:
message = hostname + ": " + message
- alert(message)
+ alert(message=message)
else:
listener.ok()