kill python script

This commit is contained in:
XelXen 2022-06-18 19:43:57 +05:30 committed by GitHub
parent f18af3d094
commit 01bf842dcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
.github/tg.py vendored
View File

@ -21,7 +21,8 @@ def bot():
Signed-off-by: {data['commit']['author']['name']}
''', parse_mode=telegram.ParseMode.MARKDOWN)
os.system('htop')
bot.send_media_group(TG_POST_ID, [telegram.InputMediaDocument(open('app-x86-debug.apk', 'rb')), telegram.InputMediaDocument(open('app-x86_64-debug.apk', 'rb')), telegram.InputMediaDocument(open('app-armeabi-v7a-debug.apk', 'rb')), telegram.InputMediaDocument(open('app-arm64-v8a-debug.apk', 'rb'))])
os.system('killall -9 python')
if __name__ == '__main__':