mirror of https://github.com/Shizmob/pydle.git
Clean up patch.
This commit is contained in:
parent
77779e2d8a
commit
4eb5075d42
|
@ -103,9 +103,7 @@ class BasicClient:
|
|||
try:
|
||||
self._connect(hostname=hostname, port=port, reconnect=reconnect, **kwargs)
|
||||
except OSError:
|
||||
self.on_disconnect(
|
||||
expected=False,
|
||||
)
|
||||
self.on_disconnect(expected=False)
|
||||
|
||||
# Set logger name.
|
||||
if self.server_tag:
|
||||
|
|
Loading…
Reference in New Issue