mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Fix organizer marking itself causing an error
This commit is contained in:
parent
0b00a9c26b
commit
980f69b5af
@ -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."""
|
||||||
|
Loading…
Reference in New Issue
Block a user