mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
PEP8 Argument should be lowercase
This commit is contained in:
parent
7f2a4d2605
commit
41fa636fc2
15 changed files with 326 additions and 350 deletions
|
@ -65,8 +65,7 @@ def strip_groups(filename):
|
|||
return newfile_path
|
||||
|
||||
|
||||
def rename_file(filename, newfilePath):
|
||||
newfile_path = newfilePath
|
||||
def rename_file(filename, newfile_path):
|
||||
if os.path.isfile(newfile_path):
|
||||
newfile_path = os.path.splitext(newfile_path)[0] + ".NTM" + os.path.splitext(newfile_path)[1]
|
||||
logger.debug("Replacing file name {old} with download name {new}".format
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue