PEP8 adaptions
This commit is contained in:
parent
6ab2629fb1
commit
2ffcdf2d59
3
dht.py
3
dht.py
@ -18,6 +18,7 @@ except ImportError:
|
||||
else:
|
||||
from . import DEBUG
|
||||
|
||||
|
||||
class dht_22(background_task):
|
||||
RUN_SLEEP_TIME = 4.0
|
||||
MIN_REFRESH_RATE = RUN_SLEEP_TIME
|
||||
@ -52,8 +53,6 @@ class dht_22(background_task):
|
||||
self.close()
|
||||
else:
|
||||
logger.debug("DHT-Communication failed: Gradient to high. Ignoring data %s!", repr(data))
|
||||
|
||||
|
||||
|
||||
def __dht_data_transmission__(self):
|
||||
if not DEBUG:
|
||||
|
Loading…
x
Reference in New Issue
Block a user