Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I'd report that bug to the renpy developers. I assume it's assigning your string literal to the notify method, so calling the method later crashes. Hopefully there's a way in Python to protect against that kind of thing.

I'll admit that since I see myself as a complete amateur, I don't feel comfortable commenting on most things I perceive as issues to the engine developers. : ) It may be there's a good reason why the things are this way.

(+1)

I looked into it with a Python developer friend. There is technically a way renpy could protect against this, but it's silly for them to do that to every method. I tried a linter/analyser called "flake8" to try and catch this sort of error but it didn't pick it up. What a strange thing about Python you have discovered :)