From 7d59dd883e292e559c8a226968e5f181a2f659e7 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Thu, 23 Apr 2020 10:48:13 +0200 Subject: [PATCH] fix: [install create default user] default passwd file: add missing new line --- var/www/create_default_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/www/create_default_user.py b/var/www/create_default_user.py index b3759ec7..3aab97aa 100755 --- a/var/www/create_default_user.py +++ b/var/www/create_default_user.py @@ -37,7 +37,7 @@ if __name__ == "__main__": 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 = 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: f.write(to_write_str)