1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

[#161 state:fixed] Fixed folder sorting.

This commit is contained in:
Virgil Dupras
2011-06-15 11:58:33 -04:00
parent cd9fd3a10b
commit 56207f4dbb
10 changed files with 46 additions and 33 deletions

View File

@@ -149,6 +149,10 @@ class File:
def name(self):
return self.path[-1]
@property
def folder_path(self):
return self.path[:-1]
class Folder(File):
"""A wrapper around a folder path.