Subliminal update
This commit is contained in:
1 parent
4dfd8b4cd5
commit
67c87444de
163 files changed
+22377
-804
No files matched your search
Regular → Executable
+3
-1
@@ -18,7 +18,7 @@
|
||||
from . import subtitles
|
||||
from .language import Language
|
||||
from .utils import to_unicode
|
||||
import enzyme
|
||||
import enzyme.core
|
||||
import guessit
|
||||
import hashlib
|
||||
import logging
|
||||
@@ -135,6 +135,8 @@ class Video(object):
|
||||
# brackets inside the filename, so we have to use basic string
|
||||
# startswith/endswith comparisons
|
||||
folder, basename = os.path.split(basepath)
|
||||
if folder == '':
|
||||
folder = '.'
|
||||
existing = [f for f in os.listdir(folder) if f.startswith(basename)]
|
||||
for path in existing:
|
||||
for ext in subtitles.EXTENSIONS:
|
||||
|
||||
Reference in new issue
Block a user