← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #156506]: Getting Indentation error --- only use tab to indent and shift-tab to dedent

 

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

gregory posted a new comment:
Sometimes I have this problem too while I'm only using tab. I'm using
rc3 version.

    def open_smc(self): 
        try:
            openApp(self.mApp_path)
            wait(15)
            self.mSnap.take_screen_shot()
        except:
            self.mSnap.take_screen_shot()
            self.mSnap.log_msg("Cannot open SMC GUI")
            self.mSnap.log_error()	


There an error at save and at execution:

error] Arrêté
[error] Message d'erreur : IndentationError: ('unindent does not match any outer indentation level', ('C:\\Users\\gregory\\AppData\\Local\\Temp\\sikuli-tmp4625430662202172482.py', 97, 4, ' def open_smc(self): \n'))

I don't really understand why, this just make me nuts :)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.