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

Adds backslashes to fix python syntax warning #117

Merged
merged 1 commit into from
May 24, 2024

Conversation

metheos
Copy link
Contributor

@metheos metheos commented May 23, 2024

Fixes python3 warning:
rpi-mqtt-monitor/src/rpi-cpu2mqtt.py:93: SyntaxWarning: invalid escape sequence '('

String literals in python use \ as an escape char. Should use double backslash to indicate a backslash in the executed string.

Signed-off-by: Matt Nelson metheos@gmail.com

Signed-off-by: Matt Nelson <metheos@gmail.com>
@hjelev hjelev merged commit b25293d into hjelev:master May 24, 2024
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 this pull request may close these issues.

2 participants