Refactored comments (closes #201)

This commit is contained in:
Tural Gurbanov 2017-08-20 22:53:40 +02:00
parent 763372390f
commit ed6e4c4757

View File

@ -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):