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:
|
try:
|
||||||
self._connect(hostname=hostname, port=port, reconnect=reconnect, **kwargs)
|
self._connect(hostname=hostname, port=port, reconnect=reconnect, **kwargs)
|
||||||
except OSError:
|
except OSError:
|
||||||
self.on_disconnect(
|
self.on_disconnect(expected=False)
|
||||||
expected=False,
|
|
||||||
)
|
|
||||||
|
|
||||||
# Set logger name.
|
# Set logger name.
|
||||||
if self.server_tag:
|
if self.server_tag:
|
||||||
|
|
Loading…
Reference in New Issue