Browse Source

PEP8 adaptions

master
Dirk Alders 3 years ago
parent
commit
2ffcdf2d59
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      dht.py

+ 1
- 2
dht.py View File

18
 else:
18
 else:
19
     from . import DEBUG
19
     from . import DEBUG
20
 
20
 
21
+
21
 class dht_22(background_task):
22
 class dht_22(background_task):
22
     RUN_SLEEP_TIME = 4.0
23
     RUN_SLEEP_TIME = 4.0
23
     MIN_REFRESH_RATE = RUN_SLEEP_TIME
24
     MIN_REFRESH_RATE = RUN_SLEEP_TIME
52
                     self.close()
53
                     self.close()
53
             else:
54
             else:
54
                 logger.debug("DHT-Communication failed: Gradient to high. Ignoring data %s!", repr(data))
55
                 logger.debug("DHT-Communication failed: Gradient to high. Ignoring data %s!", repr(data))
55
-                
56
-
57
 
56
 
58
     def __dht_data_transmission__(self):
57
     def __dht_data_transmission__(self):
59
         if not DEBUG:
58
         if not DEBUG:

Loading…
Cancel
Save