Commit b3a81423 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

VCard: Raise error on empty text elements

parent ce7fc535
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment