Don't output the startup message in Desktop mode as it hangs the runtime

on Windows.
This commit is contained in:
Dave Page
2016-06-16 17:13:32 +01:00
parent 73988bcece
commit bc16a1a61f

View File

@@ -70,9 +70,10 @@ else:
config.DEFAULT_SERVER_PORT) config.DEFAULT_SERVER_PORT)
server_port = config.DEFAULT_SERVER_PORT server_port = config.DEFAULT_SERVER_PORT
print("Starting %s. Please navigate to http://localhost:%d in your browser." % if config.SERVER_MODE == True:
(config.APP_NAME, server_port)) print("Starting %s. Please navigate to http://localhost:%d in your browser." %
sys.stdout.flush() (config.APP_NAME, server_port))
sys.stdout.flush()
try: try:
app.run( app.run(