[#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:
hsoft 2009-06-07 06:56:44 +00:00
parent 65692ec2ef
commit 8b09eb8221
1 changed files with 2 additions and 2 deletions

View File

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