mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
Fix PEP8 invalid escape sequences
This commit is contained in:
parent
5ef4bdc1f4
commit
985f004e32
4 changed files with 14 additions and 14 deletions
|
@ -123,7 +123,7 @@ def rename_script(dirname):
|
|||
rename_file = ""
|
||||
for dir, dirs, files in os.walk(dirname):
|
||||
for file in files:
|
||||
if re.search('(rename\S*\.(sh|bat)$)', file, re.IGNORECASE):
|
||||
if re.search(r'(rename\S*\.(sh|bat)$)', file, re.IGNORECASE):
|
||||
rename_file = os.path.join(dir, file)
|
||||
dirname = dir
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue