Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/xmpp/client.py')
-rw-r--r--src/common/xmpp/client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/xmpp/client.py b/src/common/xmpp/client.py
index a34901034..4a1c8b7e8 100644
--- a/src/common/xmpp/client.py
+++ b/src/common/xmpp/client.py
@@ -104,7 +104,7 @@ class CommonClient:
# Who initiated this client
# Used to register the EventDispatcher
self._caller=caller
- if debug and type(debug)!=list: debug=['always', 'nodebuilder']
+ if debug and not isinstance(debug, list): debug=['always', 'nodebuilder']
self._DEBUG=Debug.Debug(debug)
self.DEBUG=self._DEBUG.Show
self.debug_flags=self._DEBUG.debug_flags
@@ -321,4 +321,4 @@ class Component(CommonClient):
except Exception:
self.DEBUG(self.DBG,"Failed to authenticate %s"%name,'error')
-# vim: se ts=3: \ No newline at end of file
+# vim: se ts=3: