This commit is contained in:
ville rantanen
2014-02-15 19:57:02 +02:00
parent a13941ab11
commit 5ecd59dcc4

View File

@@ -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