-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Fix Cheetah error #44
base: master
Are you sure you want to change the base?
Conversation
Same issue on my server. This PR needs to be merged into the repository. |
I'm not sure about your changes This repo is not maintained anymore... I added latest changes and PR to this fork |
The issue is not about
Rather it is about:
And should be replaced with:
The exact error message is: SyntaxWarning: "is not" with 'str' literal. Did you mean "!=" Replacing all the 'is not' with '!=' solves the issue. |
but all your changed files replaces |
My guess is that you are right. I ended up doing a global search and replace on all the *.tmpl files, and the warning went away. |
OK, i don't cheetah very well, but I cannot see the errors you have |
My version of Cheetah is newer. And my python is 3.12.3. |
Fixes #30 and #40