mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
eb9609211f
commit
0e80ddb83a
4
utils.py
4
utils.py
|
@ -3689,9 +3689,9 @@ def get_attachment_property_value(property_value: {}) -> (str, str):
|
|||
prop_value = property_value['value']
|
||||
prop_value_name = 'value'
|
||||
elif property_value.get('http://schema.org#value'):
|
||||
prop_value = property_value['http://schema.org#value']
|
||||
prop_value_name = 'http://schema.org#value'
|
||||
prop_value = property_value[prop_value_name]
|
||||
elif property_value.get('https://schema.org#value'):
|
||||
prop_value = property_value['https://schema.org#value']
|
||||
prop_value_name = 'https://schema.org#value'
|
||||
prop_value = property_value[prop_value_name]
|
||||
return prop_value_name, prop_value
|
||||
|
|
Loading…
Reference in New Issue