diff --git a/src/config.py b/src/config.py index a68feb8..65bc033 100644 --- a/src/config.py +++ b/src/config.py @@ -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)