diff options
Diffstat (limited to 'src/common/xmpp/client_nb.py')
-rw-r--r-- | src/common/xmpp/client_nb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/xmpp/client_nb.py b/src/common/xmpp/client_nb.py index d00c31964..ebf71ee42 100644 --- a/src/common/xmpp/client_nb.py +++ b/src/common/xmpp/client_nb.py @@ -52,7 +52,7 @@ class NBCommonClient(CommonClient): # Who initiated this client # Used to register the EventDispatcher self._caller = caller - if debug and type(debug) != list: + if debug and not isinstance(debug, list): debug = ['always', 'nodebuilder'] self._DEBUG = Debug.Debug(debug) self.DEBUG = self._DEBUG.Show |