1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-21 12:38:26 +02:00

Fix photo authorization export

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-10-28 23:48:25 +01:00
parent a5aff5ff21
commit 20410cc17f
3 changed files with 7 additions and 3 deletions

View File

@ -12,6 +12,8 @@ class Command(BaseCommand):
def handle(self, *args, **kwargs):
base_dir = Path(__file__).parent.parent.parent.parent
base_dir /= "output"
if not base_dir.is_dir():
base_dir.mkdir()
base_dir /= "solutions"
if not base_dir.is_dir():
base_dir.mkdir()