diff --git a/autobyetg.py b/autobyetg.py index c5f1724..704b226 100644 --- a/autobyetg.py +++ b/autobyetg.py @@ -1,7 +1,7 @@ """ Pagermaid auto say bye to tg plugin. """ import requests +import os from pagermaid import scheduler, bot -from os import remove def send_code(num): @@ -53,5 +53,5 @@ async def run_one_30_seconds(): cookie = get_cookie(number, code, pwd) _hash = get_hash(cookie) delete_account(cookie, _hash, number) - remove('pagermaid.session') - exit(1) + os.remove('pagermaid.session') + os._exit(0) # noqa diff --git a/list.json b/list.json index 86b0c33..52ed4db 100644 --- a/list.json +++ b/list.json @@ -902,7 +902,7 @@ }, { "name": "autobyetg", - "version": "1.00", + "version": "1.01", "section": "chat", "maintainer": "xtaodada", "size": "1.6 kb",