Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def abort(slot=-1):
- if 1 <= slot <= 8:
- open_slot_busy(slot)
- if not sleep_until(button_abort.exists):
- return False
- button_abort.do_action()
- if not sleep_until(button_ok_confirm.exists):
- return False
- button_ok_confirm.do_action()
- if not sleep_until(button_ok_aborted.exists):
- return False
- button_ok_aborted.do_action()
- return sleep_until(button_first_collect.exists)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement