diff --git a/dht.py b/dht.py index 3ef77ba..52d0e4d 100644 --- a/dht.py +++ b/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: