Skip to content

Commit

Permalink
Merge pull request #677 from glubsy/fix_folder
Browse files Browse the repository at this point in the history
Fix standard mode folder comparison view generating "---" in results table
  • Loading branch information
arsenetar committed Jun 24, 2020
2 parents c35db7f + bcb2650 commit de0542d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def _do_delete_dupe(self, dupe, link_deleted, use_hardlinks, direct_deletion):

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)
Expand Down Expand Up @@ -539,8 +539,8 @@ def empty_data():
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):
Expand Down

0 comments on commit de0542d

Please sign in to comment.