make scripts executable
This commit is contained in:
parent
dcfb3b8a3f
commit
2dd41e65a3
@ -1,4 +1,4 @@
|
||||
requests~=2.25.1
|
||||
textract~=1.6.3
|
||||
beautifulsoup4~=4.8.0
|
||||
ch1p~=0.0.3
|
||||
ch1p~=0.0.4
|
3
telegram_notify.py
Normal file → Executable file
3
telegram_notify.py
Normal file → Executable file
@ -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)
|
||||
telegram_notify(text='error: '+escape(traceback.format_exc()), parse_mode='HTML', token=args.token, chat_id=args.chat_id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user