Skip to content

Commit

Permalink
Make sure that prompt is visible
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Apr 9, 2020
1 parent ef604be commit 56aca61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/saliweb/backend/deljob.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def get_options():
def delete_job(job, force):
if not force:
sys.stdout.write("Delete job %s? " % job.name)
sys.stdout.flush()
reply = sys.stdin.readline()
if len(reply) < 1 or reply[0].upper() != 'Y':
return
Expand Down

0 comments on commit 56aca61

Please sign in to comment.