Only use config.yaml in local development

add-new-regnum-params
Mike Benowitz 2019-07-05 15:19:01 -04:00
parent 0542d85b89
commit f0a112456b
1 changed files with 4 additions and 1 deletions

View File

@ -15,7 +15,10 @@ def loadConfig():
for key, value in sectionDict.items():
os.environ[key] = value
loadConfig()
try:
loadConfig()
except FileNotFoundError:
pass
application = Flask(__name__)
application.register_blueprint(base.bp)