mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-26 17:47:20 +00:00
Test
This commit is contained in:
parent
789eed03d1
commit
a76a3c6996
1 changed files with 2 additions and 2 deletions
|
@ -35,9 +35,9 @@ def list_subtitles(file):
|
||||||
def store_subtitles(file):
|
def store_subtitles(file):
|
||||||
languages = []
|
languages = []
|
||||||
actual_subtitles = []
|
actual_subtitles = []
|
||||||
|
print file
|
||||||
|
print file.encode('utf-8')
|
||||||
if os.path.exists(file.encode('utf-8')):
|
if os.path.exists(file.encode('utf-8')):
|
||||||
print file
|
|
||||||
print file.encode('utf-8')
|
|
||||||
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