aboutsummaryrefslogtreecommitdiff
path: root/telegram_notify.py
diff options
context:
space:
mode:
Diffstat (limited to 'telegram_notify.py')
-rwxr-xr-x[-rw-r--r--]telegram_notify.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/telegram_notify.py b/telegram_notify.py
index d825ea5..9876740 100644..100755
--- a/telegram_notify.py
+++ b/telegram_notify.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
import traceback
from mgs import MGSPiracy
from argparse import ArgumentParser
@@ -52,4 +53,4 @@ if __name__ == '__main__':
telegram_notify(text=escape(text), parse_mode='HTML', token=args.token, chat_id=args.chat_id)
except:
- telegram_notify(text='error: '+escape(traceback.format_exc()), parse_mode='HTML', token=args.token, chat_id=args.chat_id) \ No newline at end of file
+ telegram_notify(text='error: '+escape(traceback.format_exc()), parse_mode='HTML', token=args.token, chat_id=args.chat_id)