Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ternary intreprete as error #60

Closed
tperraut opened this issue Apr 12, 2018 · 1 comment
Closed

Ternary intreprete as error #60

tperraut opened this issue Apr 12, 2018 · 1 comment

Comments

@tperraut
Copy link

tperraut commented Apr 12, 2018

texture = (_mSprite if !mState else GameVars.backTheme)

or

texture = _mSprite if !mState else GameVars.backTheme

Prompt errors :
': or \' expected at end of the line.
Expected indented block after expression
and

texture = _mSprite if mState else GameVars.backTheme

or

texture = _mSprite if not mState else GameVars.backTheme

don't
Thanks for your awesome work !

@tperraut
Copy link
Author

Duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant