Adding running with configuration message

This commit is contained in:
Denis-Cosmin Nutiu 2017-04-17 02:20:49 +03:00
parent cf5d7495f0
commit 52499623db

View file

@ -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.")