Adding running with configuration message
This commit is contained in:
parent
cf5d7495f0
commit
52499623db
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ def create_app(config_name):
|
|||
return app
|
||||
|
||||
try:
|
||||
print("Running with configuration: " + sys.argv[1])
|
||||
app = create_app(sys.argv[1])
|
||||
except (IndexError, KeyError):
|
||||
print("Using default configuration.")
|
||||
|
|
Loading…
Reference in a new issue