Fix cpu_usage not accepting settings
This commit is contained in:
parent
708f2cb03f
commit
0068e1bf0f
@ -22,8 +22,7 @@ class CpuUsage(IntervalModule):
|
||||
)
|
||||
|
||||
|
||||
def __init__(self):
|
||||
IntervalModule.__init__(self)
|
||||
def init(self):
|
||||
self.prev_idle = 0
|
||||
self.prev_busy = 0
|
||||
self.interval = 1
|
||||
|
Loading…
Reference in New Issue
Block a user