Compare commits

...

2 commits

Author SHA1 Message Date
c759507f18
fix pos path 2022-10-27 23:30:55 +02:00
b829674ea0
Add python version used 2022-10-27 23:30:34 +02:00
2 changed files with 5 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# Sand
## Exécution
## Exécution avec Python 3.10.8
Préparation de l'environnement

View file

@ -32,6 +32,9 @@ def init() -> None:
# Create upload folder if doesn't exists
if not exist(Config.uploads_dir):
mkdir(Config.uploads_dir)
mkdir(path=Config.uploads_dir)
# TODO: Clear every t mins the uploads directory and database
# TODO: On init, check if files in db are corresponding to the files stored
# in the uploads_dir (for example if some files are on the disk and not
# in the database)