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

Syntax warning after generating ... #12

Closed
GameWatchProjects opened this issue Feb 24, 2024 · 1 comment · Fixed by #14
Closed

Syntax warning after generating ... #12

GameWatchProjects opened this issue Feb 24, 2024 · 1 comment · Fixed by #14

Comments

@GameWatchProjects
Copy link

Hello,

at first thank you very much for spending your time to provide us this very nice plugin.

Today i install your plugin in my weewx 5.0.2 installtion and it works fine, but when weewx generate die json files, i can see this in my log:

Feb 24 01:45:41 weewxd[1137880]: _etc_weewx_skins_JSON_weewx_json_tmpl.py:113: SyntaxWarning: "is" with a literal. Did you mean "=="?
Feb 24 01:45:41 weewxd[1137880]: _etc_weewx_skins_JSON_current_minimal_json_tmpl.py:113: SyntaxWarning: "is" with a literal. Did you mean "=="?

@vinceskahan
Copy link

Changing 'is' to '==' seems to do the right thing. Tested on macos vs. weewx 5.1.0
(and thanks for the nice skin!)

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

Successfully merging a pull request may close this issue.

2 participants