mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
Fix flake8-bugbear B007 Loop control variable not used within the loop body.
This commit is contained in:
parent
d608000345
commit
99159acd80
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ def process_torrent(input_directory, input_name, input_category, input_hash, inp
|
||||||
# remove torrent
|
# remove torrent
|
||||||
if core.USE_LINK == 'move-sym' and not core.DELETE_ORIGINAL == 1:
|
if core.USE_LINK == 'move-sym' and not core.DELETE_ORIGINAL == 1:
|
||||||
logger.debug('Checking for sym-links to re-direct in: {0}'.format(input_directory))
|
logger.debug('Checking for sym-links to re-direct in: {0}'.format(input_directory))
|
||||||
for dirpath, dirs, files in os.walk(input_directory):
|
for dirpath, _, files in os.walk(input_directory):
|
||||||
for file in files:
|
for file in files:
|
||||||
logger.debug('Checking symlink: {0}'.format(os.path.join(dirpath, file)))
|
logger.debug('Checking symlink: {0}'.format(os.path.join(dirpath, file)))
|
||||||
replace_links(os.path.join(dirpath, file))
|
replace_links(os.path.join(dirpath, file))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue