This commit is contained in:
Louis Vézina 2017-11-17 23:12:37 -05:00
parent 856323f024
commit 3acc2cf8d3
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ def store_subtitles(file):
languages = [] languages = []
actual_subtitles = [] actual_subtitles = []
if os.path.exists(file): if os.path.exists(file):
if os.path.splitext(file)[1] == '.mkv': if os.path.splitext(file)[1] == '.mkv':
try: try:
with open(file, 'rb') as f: with open(file, 'rb') as f:
mkv = enzyme.MKV(f) mkv = enzyme.MKV(f)