1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2025-03-09 21:24:36 +00:00
This commit is contained in:
Andrew Senetar 2022-03-30 01:06:51 -05:00
parent efd500ecc1
commit a37b5b0eeb
Signed by: arsenetar
GPG Key ID: C63300DCE48AB2F1

View File

@ -248,7 +248,7 @@ class DupeGuru(Broadcaster):
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.