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

RaiMan proposed the following answer:
with teardown a colon is missing:

def setup(self):
   try:
      self.already_done += 1
      if self.already_done > 0: return
   except:
      self.already_done = 0
      return
   # your other code

def teardown(self):
   if self.already_done > 0: return
   # your other code

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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

Reply via email to