Development
This commit is contained in:
parent
5b1f905ed0
commit
44261e5b5c
6 changed files with 87 additions and 33 deletions
|
|
@ -152,7 +152,7 @@ app.register_blueprint(api_apply_health_bp)
|
|||
|
||||
def _seed_initial_account():
|
||||
import uuid as _uuid, time as _t
|
||||
email = os.environ.get('INITIAL_MANAGER_EMAIL', '').strip().lower()
|
||||
email = settings.get_initial_manager_email()
|
||||
if not email:
|
||||
if not config_utils.list_accounts():
|
||||
print('[main] WARNING: No accounts exist and INITIAL_MANAGER_EMAIL is not set. '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue