Skip to content
Snippets Groups Projects
Commit 404cadcb authored by Philip Müller's avatar Philip Müller
Browse files

[postcfg] we should also check for folders

parent fe96369e
Branches
Tags
No related merge requests found
......@@ -57,6 +57,10 @@ class ConfigController:
path = os.path.join(root, filename)
if os.path.islink(path):
os.unlink(path)
for folder in dirs:
path = os.path.join(root, folder)
if os.path.islink(path):
os.unlink(path)
def copy_file(self, file):
if exists("/" + file):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment