fix pos path
This commit is contained in:
parent
b829674ea0
commit
c759507f18
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue