mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-23 12:26:02 +00:00
autobyetg fix a bug
This commit is contained in:
parent
779cbaee85
commit
e4e975f7c1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user