hjelev / rpi-mqtt-monitor

Raspberry Pi MQTT Monitor gathers system information and sends it to a MQTT server.
GNU General Public License v3.0
155 stars 41 forks source link

Adds backslashes to fix python syntax warning #117

Closed metheos closed 2 months ago

metheos commented 2 months ago

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