summaryrefslogtreecommitdiff
path: root/fruitfly.py
diff options
context:
space:
mode:
authorJoe Robinson <joe@lc8n.com>2019-02-17 21:06:51 +0000
committerJoe Robinson <joe@lc8n.com>2019-02-17 21:06:51 +0000
commitc3dce2074f975e7c58e9f1d0591cc01ecdfe1103 (patch)
tree82693251f0464a02723a2b5c2a09737cc8806ebe /fruitfly.py
parent62df855847c12466f3094bd12b284939b5274d89 (diff)
Fix syntax
Diffstat (limited to 'fruitfly.py')
-rw-r--r--fruitfly.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fruitfly.py b/fruitfly.py
index ea58818..9542d75 100644
--- a/fruitfly.py
+++ b/fruitfly.py
@@ -19,7 +19,7 @@ client.loop_start()
while True:
humidity, temperature = Adafruit_DHT.read_retry(sensor_type, sensor_pin)
- print(client_id+"/temperature: "+ temperature))
+ print(client_id+"/temperature: "+ temperature)
print(client_id+"/humidity: "+ humidity)
client.publish(client_id+"/temperature", temperature)
client.publish(client_id+"/humidity", humidity)