mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-05-20 07:42:49 +00:00
Add pause before switching away from browser
This commit is contained in:
@@ -392,6 +392,9 @@ while state.next_step < len(actions):
|
||||
# This should probably be adapted to run on different OS
|
||||
subprocess.check_call(["xdg-open", url])
|
||||
focus_browser()
|
||||
if status.interactive:
|
||||
print("Press any key to continue to next step...")
|
||||
click.getchar()
|
||||
else:
|
||||
logging.warning("Unknown method {}: {!r}".format(method, data))
|
||||
state.next_step += 1
|
||||
|
||||
Reference in New Issue
Block a user