mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Don't output the startup message in Desktop mode as it hangs the runtime
on Windows.
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user