diff options
-rw-r--r-- | nbxmpp/modules/vcard4.py | 2 |
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) |