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

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'nbxmpp/modules/vcard4.py')
-rw-r--r--nbxmpp/modules/vcard4.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/nbxmpp/modules/vcard4.py b/nbxmpp/modules/vcard4.py
index a18f3ee..cfa0cb5 100644
--- a/nbxmpp/modules/vcard4.py
+++ b/nbxmpp/modules/vcard4.py
@@ -421,6 +421,8 @@ class TextListProperty:
raise ValueError('no value found')
values = get_data_from_children(node, 'text')
+ if not values:
+ raise ValueError('no values found')
parameters = get_parameters(node)