Create directory for shares

merge-requests/30/head
Bob Mottram 2021-07-27 20:03:02 +01:00
parent 91931b0e7b
commit 13443a914d
1 changed files with 4 additions and 0 deletions

View File

@ -15285,6 +15285,10 @@ def runDaemon(sharedItemsFederatedDomains: [],
print('Creating archive') print('Creating archive')
os.mkdir(archiveDir) os.mkdir(archiveDir)
if not os.path.isdir(baseDir + '/sharefiles'):
print('Creating shared item files directory')
os.mkdir(baseDir + '/sharefiles')
print('Creating cache expiry thread') print('Creating cache expiry thread')
httpd.thrCache = \ httpd.thrCache = \
threadWithTrace(target=expireCache, threadWithTrace(target=expireCache,