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