fixed indent and bracket

This commit is contained in:
clinton-hall 2013-02-11 02:50:21 -08:00 committed by Clinton Hall
commit 499b312e36

View file

@ -208,7 +208,7 @@ for dirpath, dirnames, filenames in os.walk(destination): #flatten out the direc
continue #no need to try and move files in the root destination directory.
for filename in filenames:
try:
shutil.move(os.path.join(dirpath, filename), destination))
shutil.move(os.path.join(dirpath, filename), destination)
except OSError:
print ("INFO: Could not flatten %s ", os.path.join(dirpath, filename))
removeEmptyFolders(destination) #cleanup empty directories.