Fix missing SETUP_COMPLETE key causing 500

This commit is contained in:
Sida Chen 2019-03-07 14:15:25 -05:00
parent 23d8ecc3cc
commit 3ecc6574ae

View file

@ -102,7 +102,7 @@ class SuperUserRegistryStatus(ApiResource):
}
config = config_provider.get_config()
if config and config['SETUP_COMPLETE']:
if config and config.get('SETUP_COMPLETE'):
return {
'status': 'config'
}