Commit 169d5ba1 authored by Felix Seibert's avatar Felix Seibert
Browse files

make external layout fixing more efficient

parent d07e740f
......@@ -400,8 +400,8 @@ class OSDManager(object):
for file in files:
current_file_path = os.path.join(root, file)
copied_file_path = os.path.join(tmp_dir, file)
shutil.copy(current_file_path, copied_file_path)
os.remove(current_file_path)
shutil.move(current_file_path, copied_file_path)
# os.remove(current_file_path)
shutil.copy(copied_file_path, os.path.split(current_file_path)[0])
os.remove(copied_file_path)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment