Cleanup disconnection error message

This commit is contained in:
2010-04-05 23:25:08 +01:00
parent fbc8ee8803
commit 34d5960110

View File

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