Aggiustamenti a TVDB e TMDB

This commit is contained in:
Alhaziel01
2020-11-07 13:01:28 +01:00
parent f35db58f70
commit 47d2144b0a
5 changed files with 22 additions and 17 deletions
+2 -1
View File
@@ -57,8 +57,9 @@ def find_and_set_infoLabels(item):
while scraper or not item.exit:
# We call the find_and_set_infoLabels function of the selected scraper
scraper_result = scraper.find_and_set_infoLabels(item)
if item.exit: return False
# Check if there is a 'code'
if scraper_result and item.infoLabels['code']:
elif scraper_result and item.infoLabels['code']:
# correct code
logger.info("Identifier found: %s " % item.infoLabels['code'])
scraper.completar_codigos(item)