Automatically create attachments folder on start
This commit is contained in:
parent
d83636c55f
commit
a8caa102d5
@ -18,6 +18,7 @@ if not Path(settings.FRONTEND_FOLDER).is_dir():
|
||||
raise ValueError()
|
||||
|
||||
Path(settings.ASSETS_FOLDER).mkdir(parents=True, exist_ok=True)
|
||||
Path(settings.ATTACHMENTS_FOLDER).mkdir(parents=True, exist_ok=True)
|
||||
|
||||
|
||||
@asynccontextmanager
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user