From 2c79f736fdc85e8adaf6efeaefe45bb439763b6d Mon Sep 17 00:00:00 2001 From: Masoko Date: Tue, 13 Apr 2021 09:04:58 +0100 Subject: [PATCH] added coding: utf-8 for python 2 compitability --- src/rpi-cpu2mqtt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rpi-cpu2mqtt.py b/src/rpi-cpu2mqtt.py index 1639172..fb5c8e6 100644 --- a/src/rpi-cpu2mqtt.py +++ b/src/rpi-cpu2mqtt.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # Python (runs on 2 and 3) script to check cpu load, cpu temperature and free space, # on a Raspberry Pi computer and publish the data to a MQTT server. # RUN pip install paho-mqtt