1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-03-26 16:41:42 +00:00

hscommon.path --> pathlib

core tests pass
This commit is contained in:
Virgil Dupras
2013-08-05 18:41:56 -04:00
parent 160aaaf880
commit 740e2ab263
12 changed files with 147 additions and 171 deletions

View File

@@ -31,7 +31,7 @@ class DirectoryNode(Node):
self.clear()
subpaths = self._tree.app.directories.get_subfolders(self._directory_path)
for path in subpaths:
self.append(DirectoryNode(self._tree, path, path[-1]))
self.append(DirectoryNode(self._tree, path, path.name))
self._loaded = True
def update_all_states(self):