aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--telegram_notify.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/telegram_notify.py b/telegram_notify.py
index 427659c..bba2964 100644
--- a/telegram_notify.py
+++ b/telegram_notify.py
@@ -43,8 +43,8 @@ if __name__ == '__main__':
# if found anything, send to telegram
if results:
- text = 'new mos-gorsud findings:\n'.join(results)
+ text = '\n'.join(results)
r = requests.post('https://api.telegram.org/bot%s/sendMessage' % args.token, data={
'chat_id': args.chat_id,
- 'text': text
+ 'text': 'new mos-gorsud findings:\n' + text
}) \ No newline at end of file