[tests] Fix kernel module test
This commit is contained in:
parent
bd7ff3c8f1
commit
11ebcee29a
12 changed files with 13 additions and 12 deletions
|
@ -15,7 +15,7 @@ import core.widget
|
|||
import core.input
|
||||
|
||||
class Module(core.module.Module):
|
||||
def __init__(self, config=None):
|
||||
def __init__(self, config):
|
||||
super().__init__(config, core.widget.Widget(self.utilization))
|
||||
self.widget().set('theme.minwidth', self._format.format(100.0-10e-20))
|
||||
self._utilization = psutil.cpu_percent(percpu=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue