Question #287177 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/287177
masuo proposed the following answer:
there are two defects in LoopClose().
(1)Now variable A is defined as a local variable.
Define variable A as global variable.
(2)Now variable A is not substituted.
Substitute 10 for variable A.
def LoopClose(event):
global A # <--- (1)
print('BREAK KEY ACTIVATED!')
A = 10 # <--- (2)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp