mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-05 12:40: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(LogOutRequest())
|
||||||
self.disconnect()
|
self.disconnect()
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
# macos issue: https://github.com/veusz/veusz/issues/54
|
# macOS issue: https://github.com/veusz/veusz/issues/54
|
||||||
# socket has been already closed (Errno 57)
|
# Socket has been already closed (Errno 57)
|
||||||
# if any other - fail
|
# Fail on any other error
|
||||||
if e.errno != errno.ENOTCONN:
|
if e.errno != errno.ENOTCONN:
|
||||||
raise e
|
raise e
|
||||||
except (RPCError, ConnectionError):
|
except (RPCError, ConnectionError):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user