This commit is contained in:
Louis Vézina 2017-11-17 23:12:37 -05:00
parent 856323f024
commit 3acc2cf8d3

View file

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