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):
|
for path,dirs,files in os.walk(options.startpath,followlinks=options.symlinks):
|
||||||
# do not move files in move folder a second time..
|
# do not move files in move folder a second time..
|
||||||
if options.move!="":
|
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[:]
|
del dirs[:]
|
||||||
continue
|
continue
|
||||||
take_action=False
|
take_action=False
|
||||||
|
|||||||
Reference in New Issue
Block a user