mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-15 15:22:17 +00:00
Cleanup disconnection error message
This commit is contained in:
@@ -21,7 +21,8 @@ class JabberAdmin():
|
|||||||
|
|
||||||
|
|
||||||
def __del__(self):
|
def __del__(self):
|
||||||
self._client.disconnect()
|
if hasattr(self, '_client'):
|
||||||
|
self._client.disconnect()
|
||||||
|
|
||||||
def connect(self):
|
def connect(self):
|
||||||
if not hasattr(self, '_client'):
|
if not hasattr(self, '_client'):
|
||||||
|
|||||||
Reference in New Issue
Block a user