mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 13:53:15 -07:00
Set expected, but passing list
This commit is contained in:
parent
22daf02167
commit
eb1ee8b5f5
1 changed files with 1 additions and 1 deletions
|
@ -1144,7 +1144,7 @@ def import_subs(filename):
|
|||
logger.debug("Attempting to download subtitles for %s" % (filename), 'SUBTITLES')
|
||||
try:
|
||||
video = subliminal.scan_video(filename, subtitles=True, embedded_subtitles=True)
|
||||
subtitles = subliminal.download_best_subtitles([video], languages, hearing_impaired=False)
|
||||
subtitles = subliminal.download_best_subtitles({video}, languages, hearing_impaired=False)
|
||||
subliminal.save_subtitles(subtitles)
|
||||
except Exception as e:
|
||||
logger.error("Failed to download subtitles for %s due to: %s" % (filename, e), 'SUBTITLES')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue