mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-14 02:28:23 +00:00
fix: [install create default user] default passwd file: add missing new line
This commit is contained in:
parent
ed0985f111
commit
7d59dd883e
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
default_passwd_file = os.path.join(os.environ['AIL_HOME'], 'DEFAULT_PASSWORD')
|
default_passwd_file = os.path.join(os.environ['AIL_HOME'], 'DEFAULT_PASSWORD')
|
||||||
to_write_str = '# Password Generated by default\n# This file is deleted after the first login\n#\nemail=admin@admin.test\npassword='
|
to_write_str = '# Password Generated by default\n# This file is deleted after the first login\n#\nemail=admin@admin.test\npassword='
|
||||||
to_write_str = to_write_str + password + '\nAPI_Key=' + token
|
to_write_str = to_write_str + password + '\nAPI_Key=' + token + '\n'
|
||||||
with open(default_passwd_file, 'w') as f:
|
with open(default_passwd_file, 'w') as f:
|
||||||
f.write(to_write_str)
|
f.write(to_write_str)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue