sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #08908
Re: [Question #188360]: Cant use def!?!?
Question #188360 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/188360
Status: Open => Answered
RaiMan proposed the following answer:
Ok, must be so ;-)
around line 189, you have to add global noore (as I mentioned in BTW at
comment #4), since noore is set in lets mine().
should look like this:
def letsmine():
global noore
if mineiron == True:
Mind the indentation, must be the same as with the following if.
If you get indentation errors: faq 1800
Sorry, if I seem to be brutal: But if you want to manage such scripts
(that are far from being programmed robust), you need some knowledge
about how to write Python scripts.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.