Fix organizer marking itself causing an error

This commit is contained in:
I-Al-Istannen 2020-04-23 20:02:05 +02:00
parent 0b00a9c26b
commit 980f69b5af

View File

@ -29,7 +29,7 @@ class Organizer(Location):
self._known_files: Set[Path] = set()
# Keep the root dir
self.mark(path)
self._known_files.add(path.resolve())
def accept_file(self, src: Path, dst: PurePath) -> None:
"""Move a file to this organizer and mark it."""