diff --git a/backend/core/views.py b/backend/core/views.py index c6321083..ae412c19 100644 --- a/backend/core/views.py +++ b/backend/core/views.py @@ -543,7 +543,7 @@ def post(self, request, *args, **kwargs): bbox, zoom_level, DEFAULT_TILE_SIZE ) temp_path = f"temp/{uuid.uuid4()}/" - os.mkdir(temp_path) + os.makedirs(temp_path,exist_ok=True) try: download_imagery( start,