summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0163.py
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/plugins/xep_0163.py')
-rw-r--r--sleekxmpp/plugins/xep_0163.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0163.py b/sleekxmpp/plugins/xep_0163.py
index 43d3ad3a..5aa3aef9 100644
--- a/sleekxmpp/plugins/xep_0163.py
+++ b/sleekxmpp/plugins/xep_0163.py
@@ -74,7 +74,7 @@ class XEP_0163(BasePlugin):
be a list of such namespaces.
jid -- Optionally specify the JID.
"""
- if not isinstance(namespace, set) and not isinstance(namespace, list):
+ if not isinstance(namespace, (set, list)):
namespace = [namespace]
for ns in namespace: