Fixed setup of completely new server

This commit is contained in:
krateng 2022-04-08 19:03:12 +02:00
parent 3115d0372b
commit 5952b8de4d
1 changed files with 3 additions and 0 deletions

View File

@ -284,6 +284,9 @@ data_directories = {
"cache":dir_settings['cache'],
}
for identifier,path in data_directories.items():
os.makedirs(path,exist_ok=True)
data_dir = {
k:lambda *x,k=k: pthj(data_directories[k],*x) for k in data_directories