commit 72533366d833b7536c8e759a3590bdd559921cf7
parent 56092ff68111d723ca95853837e38ca354a0f6a3
Author: rbckman <rob@tarina.org>
Date: Tue, 14 Nov 2023 15:50:30 +0000
make session folders here
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/tarinaretake.py b/tarinaretake.py
@@ -211,6 +211,9 @@ def main():
#TURN ON WIFI AND TARINA SERVER
serverstate = 'on'
wifistate = 'on'
+ if os.path.isdir(tarinafolder+'/srv/sessions') == False:
+ os.makedirs(tarinafolder+'/srv/sessions')
+ os.system('chown www-data '+tarinafolder+'/srv/sessions')
#serverstate = tarinaserver(False)
#TO_BE_OR_NOT_TO_BE
foldername = filmfolder + filmname + '/' + 'scene' + str(scene).zfill(3) +'/shot' + str(shot).zfill(3) + '/'