mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-05 04:30:22 +03:00
Refactored comments (closes #201)
This commit is contained in:
parent
763372390f
commit
ed6e4c4757
|
@ -323,9 +323,9 @@ class TelegramClient(TelegramBareClient):
|
|||
self(LogOutRequest())
|
||||
self.disconnect()
|
||||
except OSError as e:
|
||||
# macos issue: https://github.com/veusz/veusz/issues/54
|
||||
# socket has been already closed (Errno 57)
|
||||
# if any other - fail
|
||||
# macOS issue: https://github.com/veusz/veusz/issues/54
|
||||
# Socket has been already closed (Errno 57)
|
||||
# Fail on any other error
|
||||
if e.errno != errno.ENOTCONN:
|
||||
raise e
|
||||
except (RPCError, ConnectionError):
|
||||
|
|
Loading…
Reference in New Issue
Block a user