aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/examples/futureHouse/futureHouse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/futureHouse/futureHouse.py b/python/examples/futureHouse/futureHouse.py
index a7e6966..ea25e81 100644
--- a/python/examples/futureHouse/futureHouse.py
+++ b/python/examples/futureHouse/futureHouse.py
@@ -68,7 +68,7 @@ def callback(message, channel):
pubnub.publish(channel, leds, callback=pubMessage, error=pubMessage)
-if 'getEnviro' in message:
+ if 'getEnviro' in message:
enviro = {}
enviro['temp1'] = '{0:0.2f} *C'.format(sensor.read_temperature())
enviro['pres1'] = '{0:0.2f} Pa'.format(sensor.read_pressure())