mirror of https://gitlab.com/bashrc2/epicyon
Check that location is a string
parent
94dd07f98f
commit
66c7f3def1
|
@ -106,6 +106,8 @@ def _get_location_from_tags(tags: []) -> str:
|
|||
continue
|
||||
if not tag_item.get('name'):
|
||||
continue
|
||||
if not isinstance(tag_item['name'], str):
|
||||
continue
|
||||
return tag_item['name'].replace('\n', ' ')
|
||||
return None
|
||||
|
||||
|
|
Loading…
Reference in New Issue