Skip to content

Commit

Permalink
Hotfix: Remove OSMPS directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatkot committed Jan 21, 2025
1 parent ba99dfc commit 44a5551
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions webui/queuing.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from config import (
ARCHIVES_DIRECTORY,
MAPS_DIRECTORY,
OSMPS_DIRECTORY,
QUEUE_FILE,
QUEUE_INTERVAL,
QUEUE_TIMEOUT,
Expand Down Expand Up @@ -159,7 +158,7 @@ def auto_clean() -> None:
if get_queue_length() > 0:
return

to_clean = [ARCHIVES_DIRECTORY, MAPS_DIRECTORY, OSMPS_DIRECTORY, TEMP_DIRECTORY]
to_clean = [ARCHIVES_DIRECTORY, MAPS_DIRECTORY, TEMP_DIRECTORY]
for directory in to_clean:
shutil.rmtree(directory, ignore_errors=True)

Expand Down

0 comments on commit 44a5551

Please sign in to comment.