1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-26 17:47:20 +00:00
This commit is contained in:
Louis Vézina 2017-11-14 10:12:55 -05:00
parent 5026af8203
commit 789eed03d1

View file

@ -36,6 +36,8 @@ def store_subtitles(file):
languages = []
actual_subtitles = []
if os.path.exists(file.encode('utf-8')):
print file
print file.encode('utf-8')
if os.path.splitext(file)[1] == '.mkv':
try:
with open(file, 'rb') as f: