Add pause before switching away from browser

This commit is contained in:
Jerome Petazzoni
2017-12-22 23:02:47 +01:00
parent 6f58fee29b
commit aef833c3f5

View File

@@ -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