mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
incorrect call.
This commit is contained in:
parent
28791e95c4
commit
a34a81a41f
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ def reverse_filename(filename, dirname, name):
|
|||
|
||||
def rename_script(dirname):
|
||||
rename_file = ""
|
||||
for dir, dirs, files in listMediaFiles(dirname):
|
||||
for dir, dirs, files in os.walk(dirname):
|
||||
for file in files:
|
||||
if re.search('(rename\S*\.(sh|bat))',file):
|
||||
rename_file = os.path.join(dir, file)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue