mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-06 14:58:03 +08:00
Test
This commit is contained in:
parent
5d11f61024
commit
b88fba51ff
1 changed files with 1 additions and 3 deletions
|
@ -35,10 +35,8 @@ def list_subtitles(file):
|
||||||
def store_subtitles(file):
|
def store_subtitles(file):
|
||||||
languages = []
|
languages = []
|
||||||
actual_subtitles = []
|
actual_subtitles = []
|
||||||
print file
|
|
||||||
if os.path.exists(file):
|
if os.path.exists(file):
|
||||||
print "exist"
|
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:
|
||||||
mkv = enzyme.MKV(f)
|
mkv = enzyme.MKV(f)
|
||||||
|
|
Loading…
Reference in a new issue