Skip to content

Commit

Permalink
Fix #988
Browse files Browse the repository at this point in the history
  • Loading branch information
arsenetar committed Mar 30, 2022
1 parent efd500e commit a37b5b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def _do_delete_dupe(self, dupe, link_deleted, use_hardlinks, direct_deletion):
ref = group.ref
linkfunc = os.link if use_hardlinks else os.symlink
linkfunc(str(ref.path), str_path)
self.clean_empty_dirs(dupe.path.parent())
self.clean_empty_dirs(dupe.path.parent)

def _create_file(self, path):
# We add fs.Folder to fileclasses in case the file we're loading contains folder paths.
Expand Down

0 comments on commit a37b5b0

Please sign in to comment.