bugfix
This commit is contained in:
@@ -58,7 +58,7 @@ def recurse(options):
|
||||
for path,dirs,files in os.walk(options.startpath,followlinks=options.symlinks):
|
||||
# do not move files in move folder a second time..
|
||||
if options.move!="":
|
||||
if os.path.samefile(options.move, path):
|
||||
if os.path.exists(options.move) and os.path.samefile(options.move, path):
|
||||
del dirs[:]
|
||||
continue
|
||||
take_action=False
|
||||
|
||||
Reference in New Issue
Block a user