mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-09-19 15:59:07 +02:00
python 3 migration
This commit is contained in:
@@ -43,6 +43,6 @@ def read_passive_sensor(api):
|
||||
:return: None
|
||||
|
||||
"""
|
||||
for key, value in cbpi.cache.get("sensors").iteritems():
|
||||
for key, value in cbpi.cache.get("sensors").items():
|
||||
if value.mode == "P":
|
||||
value.instance.read()
|
||||
|
||||
Reference in New Issue
Block a user