Commit 50dc9807 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

don't unregister hidden name unless necessary

parent d52d06d3
......@@ -359,7 +359,8 @@ class LocalfsTargetHandle(object):
self.prepare(fetched_path, sync_state)
self.finalize(fetched_path, fetched_live_info)
self.cleanup(self.hidden_path)
self.unregister_hidden_name(self.hidden_filename)
if self.hidden_filename is not None:
self.unregister_hidden_name(self.hidden_filename)
def prepare(self, fetched_path, sync_state):
self.hide_file()
......
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