Fix in site generator
This commit is contained in:
parent
e4c20bc65b
commit
61c76e3031
1 changed files with 3 additions and 3 deletions
|
|
@ -74,7 +74,7 @@ def start():
|
|||
|
||||
try:
|
||||
|
||||
shutil.copy(workdir+'/frontend/index.py', args.path+'/app.py')
|
||||
shutil.copy(workdir+'/frontend/app.py', args.path+'/app.py')
|
||||
|
||||
except:
|
||||
|
||||
|
|
@ -135,7 +135,7 @@ def start():
|
|||
os.symlink(workdir, args.path+'/paramecio2/', True)
|
||||
|
||||
except:
|
||||
print('Error: cannot symlink paramecio in new site')
|
||||
print('Error: cannot symlink paramecio2 in new site')
|
||||
|
||||
with open(path_settings+'/config.py', 'r') as f:
|
||||
conf=f.read()
|
||||
|
|
@ -143,7 +143,7 @@ def start():
|
|||
random_bytes = os.urandom(24)
|
||||
secret_key_session = b64encode(random_bytes).decode('utf-8').strip()
|
||||
|
||||
conf=conf.replace('"im smoking fool"', secret_key_session)
|
||||
conf=conf.replace('im smoking fool', secret_key_session)
|
||||
|
||||
#domain='localhost'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue