Only use config.yaml in local development
parent
0542d85b89
commit
f0a112456b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue