mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-15 10:25:13 +08:00
Test
This commit is contained in:
parent
783cc067fd
commit
44ec18f809
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ def list_subtitles(file):
|
||||||
def store_subtitles(file):
|
def store_subtitles(file):
|
||||||
languages = []
|
languages = []
|
||||||
actual_subtitles = []
|
actual_subtitles = []
|
||||||
if os.path.exists(file):
|
if os.path.exists(unicode(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:
|
||||||
|
|
Loading…
Reference in a new issue