From 03712860b1b3cea0f6a23d8db6b77dcaf1311c70 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Fri, 23 Mar 2012 15:51:39 -0400 Subject: [PATCH] Added debug message on sending to trash. --- core/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/app.py b/core/app.py index 6ad5fe69..553829ff 100644 --- a/core/app.py +++ b/core/app.py @@ -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)