diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-04-20 00:55:58 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-04-20 00:55:58 +0300 |
commit | a5eb909949d7feb8dea501698bfbf139d321a1e9 (patch) | |
tree | cbd1ce3aad49366c6e149488c6ac9faa1b86e4f8 | |
parent | 9d44b010d357fe64ee6b34b708c015e33e9f3022 (diff) |
fix
-rw-r--r-- | telegram_notify.py | 4 |
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 |