mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
Added debug message on sending to trash.
This commit is contained in:
parent
9e1f79c152
commit
03712860b1
@ -166,6 +166,7 @@ class DupeGuru(RegistrableApplication, Broadcaster):
|
||||
def _do_delete_dupe(self, dupe, replace_with_hardlinks):
|
||||
if not io.exists(dupe.path):
|
||||
return
|
||||
logging.debug("Sending '%s' to trash", dupe.path)
|
||||
send2trash(str(dupe.path)) # Raises OSError when there's a problem
|
||||
if replace_with_hardlinks:
|
||||
group = self.results.get_group_of_duplicate(dupe)
|
||||
|
Loading…
x
Reference in New Issue
Block a user