mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-06 21:21:12 -07:00
fix transcode get_subs
This commit is contained in:
parent
d1e4b062e6
commit
e20fdb3107
1 changed files with 1 additions and 0 deletions
|
@ -290,6 +290,7 @@ def get_subs(file):
|
|||
filepaths = []
|
||||
subExt = ['.srt', '.sub', '.idx']
|
||||
name = os.path.splitext(os.path.split(file)[1])[0]
|
||||
dir = os.path.split(file)[0]
|
||||
for dirname, dirs, filenames in os.walk(dir):
|
||||
for filename in filenames:
|
||||
filepaths.extend([os.path.join(dirname, filename)])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue