mirror of
https://github.com/Garmelon/PFERD.git
synced 2025-07-13 06:32:32 +02:00
Do not fail only empty courses
This commit is contained in:
@ -124,6 +124,8 @@ class Organizer(Location):
|
||||
self._cleanup(self.path)
|
||||
|
||||
def _cleanup(self, start_dir: Path) -> None:
|
||||
if not start_dir.exists():
|
||||
return
|
||||
paths: List[Path] = list(start_dir.iterdir())
|
||||
|
||||
# Recursively clean paths
|
||||
|
Reference in New Issue
Block a user