mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 05:13:16 -07:00
Fix flake8-bugbear B007 Loop control variable not used within the loop body.
This commit is contained in:
parent
e00b5cc195
commit
4c8e896bbb
7 changed files with 10 additions and 10 deletions
|
@ -487,7 +487,7 @@ class SourceUpdateManager(UpdateManager):
|
|||
# walk temp folder and move files to main folder
|
||||
logger.log(u'Moving files from {source} to {destination}'.format
|
||||
(source=content_dir, destination=core.APP_ROOT))
|
||||
for dirname, dirnames, filenames in os.walk(content_dir): # @UnusedVariable
|
||||
for dirname, _, filenames in os.walk(content_dir): # @UnusedVariable
|
||||
dirname = dirname[len(content_dir) + 1:]
|
||||
for curfile in filenames:
|
||||
old_path = os.path.join(content_dir, dirname, curfile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue