mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-08 16:04:51 +00:00
Update client.py
fix connection lost error https://github.com/Mayuri-Chan/pyrofork/issues/42
This commit is contained in:
parent
6a16933aad
commit
1e94e89f37
1 changed files with 1 additions and 1 deletions
|
|
@ -622,7 +622,7 @@ class Client(Methods):
|
|||
limit=pts
|
||||
)
|
||||
)
|
||||
except ChannelPrivate:
|
||||
except (ChannelPrivate, OSError):
|
||||
pass
|
||||
else:
|
||||
if not isinstance(diff, raw.types.updates.ChannelDifferenceEmpty):
|
||||
|
|
|
|||
Loading…
Reference in a new issue