Skip to content

Commit

Permalink
gui: always allow starting a standalone GUI with --new
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-sanders committed Jan 14, 2025
1 parent 2dde11b commit f3b3453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cylc/uiserver/scripts/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def main(*argv):
'''))
return
if not {'--help', '--help-all'} & set(sys.argv):
if hub_url:
if hub_url and not new_gui:
print(f"Running on {hub_url } as specified in global config.")
webbrowser.open(
update_url(hub_url, workflow_id), autoraise=True
Expand Down

0 comments on commit f3b3453

Please sign in to comment.