From 2dd41e65a3ef9bf2f0060aa58b1e0f672ab440d7 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Wed, 16 Mar 2022 03:00:25 +0300 Subject: make scripts executable --- requirements.txt | 2 +- telegram_notify.py | 3 ++- to_csv.py | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) mode change 100644 => 100755 telegram_notify.py mode change 100644 => 100755 to_csv.py diff --git a/requirements.txt b/requirements.txt index 2ba644c..baac057 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ requests~=2.25.1 textract~=1.6.3 beautifulsoup4~=4.8.0 -ch1p~=0.0.3 +ch1p~=0.0.4 \ No newline at end of file diff --git a/telegram_notify.py b/telegram_notify.py old mode 100644 new mode 100755 index d825ea5..9876740 --- 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) diff --git a/to_csv.py b/to_csv.py old mode 100644 new mode 100755 index f742cc2..e08bc24 --- a/to_csv.py +++ b/to_csv.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import csv from mgs import MGSPiracy from argparse import ArgumentParser @@ -27,4 +28,4 @@ if __name__ == '__main__': case['doc_link'], case['violation_links'])) - f.close() \ No newline at end of file + f.close() -- cgit v1.2.3