Merge pull request #677 from glubsy/fix_folder

Fix standard mode folder comparison view generating "---" in results table
This commit is contained in:
Andrew Senetar 2020-06-24 18:30:30 -05:00 committed by GitHub
commit de0542d2a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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 + [fs.Folder])
return fs.get_file(path, self.fileclasses + [se.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 on GetDisplayInfo for %s: %s", str(dupe.path), str(e)
)
"Exception (type: %s) on GetDisplayInfo for %s: %s",
type(e), str(dupe.path), str(e))
return empty_data()
def invoke_custom_command(self):