1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-03-03 18:15:50 +00:00
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)