mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-22 22:10:42 +00:00
Fix for exception not managed in get_subtitles
This commit is contained in:
parent
27962727c7
commit
80eaa7a21e
1 changed files with 89 additions and 89 deletions
|
@ -48,8 +48,8 @@ def download_subtitle(path, language, hi, providers, providers_auth, sceneName,
|
||||||
else:
|
else:
|
||||||
used_sceneName = True
|
used_sceneName = True
|
||||||
video = Video.fromname(sceneName)
|
video = Video.fromname(sceneName)
|
||||||
except:
|
except Exception as e:
|
||||||
logging.error("Error trying to get video information.")
|
logging.exception("Error trying to get video information for this file: " + path)
|
||||||
else:
|
else:
|
||||||
if media_type == "movie":
|
if media_type == "movie":
|
||||||
max_score = 120.0
|
max_score = 120.0
|
||||||
|
|
Loading…
Reference in a new issue