Use dict literals (#33658)
This commit is contained in:
parent
541e30d155
commit
0d95eff21d
22 changed files with 33 additions and 33 deletions
|
@ -165,7 +165,7 @@ class DHTClient:
|
|||
self.adafruit_dht = adafruit_dht
|
||||
self.sensor = sensor
|
||||
self.pin = pin
|
||||
self.data = dict()
|
||||
self.data = {}
|
||||
|
||||
@Throttle(MIN_TIME_BETWEEN_UPDATES)
|
||||
def update(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue