bug fix ...

pull/17/head
Steve Nyemba 4 weeks ago
parent 1337a99b18
commit 86b57ccfd8

@ -157,12 +157,13 @@ def secure(
f.write(str(uuid.uuid4()))
f.close()
#
manifest = get_manifest(manifest)
_config = cms.engine.config.get(manifest)
if 'source' not in _config['system']:
_config['system']['source'] = {'id':'disk'}
_config['system']['source']['key'] = keyfile
cms.engine.config.write(_config,manifest)
_msg = f"""{PASSED} [bold]{_config['system']['layout']['header']['title']}[/bold] : A key was generated and written to {keyfile}
_msg = f"""{PASSED} [bold]{_config['layout']['header']['title']}[/bold] : A key was generated and written to {keyfile}
use this key in header to enable reload of the site ...`
"""
else:

Loading…
Cancel
Save