Drop language on all exception.

pull/614/head
Louis Vézina 5 years ago
parent eb04192ce5
commit 99e940f7a8

@ -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…
Cancel
Save