mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-25 17:17:12 +00:00
Drop language on all exception.
This commit is contained in:
parent
eb04192ce5
commit
99e940f7a8
1 changed files with 1 additions and 1 deletions
|
@ -618,7 +618,7 @@ def _search_external_subtitles(path, languages=None, only_one=False, scandir_gen
|
|||
language_code = Language.fromietf(language_code)
|
||||
except ValueError:
|
||||
language_code = None
|
||||
except IndexError:
|
||||
except:
|
||||
language_code = None
|
||||
|
||||
# remove possible language code for matching
|
||||
|
|
Loading…
Reference in a new issue