Compare commits
2 commits
1f19e109a9
...
c759507f18
Author | SHA1 | Date | |
---|---|---|---|
c759507f18 | |||
b829674ea0 |
2 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Sand
|
# Sand
|
||||||
|
|
||||||
## Exécution
|
## Exécution avec Python 3.10.8
|
||||||
|
|
||||||
Préparation de l'environnement
|
Préparation de l'environnement
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,9 @@ def init() -> None:
|
||||||
|
|
||||||
# Create upload folder if doesn't exists
|
# Create upload folder if doesn't exists
|
||||||
if not exist(Config.uploads_dir):
|
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: 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)
|
||||||
|
|
Reference in a new issue