mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-12 15:35:05 +02:00
Fix organizer marking itself causing an error
This commit is contained in:
parent
0b00a9c26b
commit
980f69b5af
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue