mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-09-03 20:52:57 -05:00
Don't output the startup message in Desktop mode as it hangs the runtime
on Windows.
This commit is contained in:
+4
-3
@@ -70,9 +70,10 @@ else:
|
||||
config.DEFAULT_SERVER_PORT)
|
||||
server_port = config.DEFAULT_SERVER_PORT
|
||||
|
||||
print("Starting %s. Please navigate to http://localhost:%d in your browser." %
|
||||
(config.APP_NAME, server_port))
|
||||
sys.stdout.flush()
|
||||
if config.SERVER_MODE == True:
|
||||
print("Starting %s. Please navigate to http://localhost:%d in your browser." %
|
||||
(config.APP_NAME, server_port))
|
||||
sys.stdout.flush()
|
||||
|
||||
try:
|
||||
app.run(
|
||||
|
||||
Reference in New Issue
Block a user