Use the relative path when cleaning a remote module directory

parent 69dece46
......@@ -103,7 +103,8 @@ class Module(ModuleContent):
return
logging.debug("Removing " + self.path)
try:
command_tmp = path_mod.del_command() + " " + self.path
command_tmp = (path_mod.del_command() + " " +
path_mod.relpath(self.path))
status_cmd = Popen(command_tmp,
stdout=PIPE,
stdin=PIPE,
......
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