mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-07 20:42:32 +00:00
Save session on connect and fix some typos
The session is saved upon connecting with the hope to make sure that the authorization key gets saved to disk before the next run.
This commit is contained in:
@@ -351,7 +351,7 @@ async def handler(event):
|
||||
for i in range(1, 4)
|
||||
]
|
||||
what = max(rates, key=lambda t: t[1])
|
||||
if what[1] < 0.7:
|
||||
if what[1] < 0.75:
|
||||
return
|
||||
|
||||
name = what[0]
|
||||
|
Reference in New Issue
Block a user