fix(yemapt): judge tag list none

This commit is contained in:
yemapt
2024-11-24 16:22:54 +08:00
parent a2c10c86bf
commit 576d215d8c

View File

@@ -105,7 +105,7 @@ class YemaSpider:
category = MediaType.UNKNOWN.value
pass
torrentLabelIds = result.get('tagList')
torrentLabelIds = result.get('tagList', []) or []
torrentLabels = []
for labelId in torrentLabelIds:
if self._labels.get(labelId) is not None: