From e85819377a7c0c0613f403feab1dadc0a965c0ad Mon Sep 17 00:00:00 2001 From: Fuan Date: Tue, 30 Jun 2020 04:41:27 +0200 Subject: [PATCH] Revert "Fix standard mode folder comparison view generating "---" in results table" --- core/app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/app.py b/core/app.py index 0a9301a2..a5fd8ac4 100644 --- a/core/app.py +++ b/core/app.py @@ -259,7 +259,7 @@ class DupeGuru(Broadcaster): def _create_file(self, path): # We add fs.Folder to fileclasses in case the file we're loading contains folder paths. - return fs.get_file(path, self.fileclasses + [se.fs.Folder]) + return fs.get_file(path, self.fileclasses + [fs.Folder]) def _get_file(self, str_path): path = Path(str_path) @@ -539,8 +539,8 @@ class DupeGuru(Broadcaster): return dupe.get_display_info(group, delta) except Exception as e: logging.warning( - "Exception (type: %s) on GetDisplayInfo for %s: %s", - type(e), str(dupe.path), str(e)) + "Exception on GetDisplayInfo for %s: %s", str(dupe.path), str(e) + ) return empty_data() def invoke_custom_command(self):