← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #273986]: Script won't stop

 

Question #273986 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273986

masuo requested more information:
When  you  type  [alt + shift + c], the script does not stop?
If so, try to add exit() in block 'except:'  .
I might don't understand the issue .

while True:
    try:
        #code goes here
    except:
        X = 1
        exit()       # add here

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.