We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9994021 commit 6c25a1dCopy full SHA for 6c25a1d
CLUE_BBQ/clue_bbq.py
@@ -123,10 +123,10 @@
123
124
temps = ibbq_service.temperatures
125
batt = ibbq_service.battery_level
126
- if temps != None:
+ if temps is not None:
127
probe_count = len(temps) # check how many probes there are
128
for i in range(probe_count):
129
- if temps[i] is not 0 and temps[i] < 1000: # unplugged probes
+ if temps[i] != 0 and temps[i] < 1000: # unplugged probes
130
if unit_mode:
131
clue.pixel.fill((50, 0, 0))
132
temp = temps[i]
0 commit comments