[#16 state:fixed] Moved the io.makedirs() call into the try..except in CopyOrMove
--HG-- extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%4012
This commit is contained in:
parent
65692ec2ef
commit
8b09eb8221
|
@ -146,9 +146,9 @@ class DupeGuru(RegistrableApplication):
|
|||
dest_path = dest_path + source_path[1:-1] #Remove drive letter and filename
|
||||
elif dest_type == 1:
|
||||
dest_path = dest_path + source_path[location_path:-1]
|
||||
if not io.exists(dest_path):
|
||||
io.makedirs(dest_path)
|
||||
try:
|
||||
if not io.exists(dest_path):
|
||||
io.makedirs(dest_path)
|
||||
if copy:
|
||||
files.copy(source_path, dest_path)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue