mirror of https://gitlab.com/bashrc2/epicyon
Invert logic
parent
b1c301dcb5
commit
67172c3165
|
@ -563,7 +563,7 @@ def _jsonFeedV1ToDict(baseDir: str, domain: str, xmlStr: str,
|
||||||
print('WARN: json feed description is too long')
|
print('WARN: json feed description is too long')
|
||||||
continue
|
continue
|
||||||
if jsonFeedItem.get('tags'):
|
if jsonFeedItem.get('tags'):
|
||||||
if not isinstance(jsonFeedItem['tags'], list):
|
if isinstance(jsonFeedItem['tags'], list):
|
||||||
for tagName in jsonFeedItem['tags']:
|
for tagName in jsonFeedItem['tags']:
|
||||||
if not isinstance(tagName, str):
|
if not isinstance(tagName, str):
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue