mirror of
https://github.com/Garmelon/PFERD.git
synced 2025-08-14 03:22:28 +02:00
Fix organizer marking itself causing an error
This commit is contained in:
@@ -29,7 +29,7 @@ class Organizer(Location):
|
|||||||
self._known_files: Set[Path] = set()
|
self._known_files: Set[Path] = set()
|
||||||
|
|
||||||
# Keep the root dir
|
# Keep the root dir
|
||||||
self.mark(path)
|
self._known_files.add(path.resolve())
|
||||||
|
|
||||||
def accept_file(self, src: Path, dst: PurePath) -> None:
|
def accept_file(self, src: Path, dst: PurePath) -> None:
|
||||||
"""Move a file to this organizer and mark it."""
|
"""Move a file to this organizer and mark it."""
|
||||||
|
Reference in New Issue
Block a user