From 0068e1bf0f44416559e4ee3b6358b6b73d35ebd3 Mon Sep 17 00:00:00 2001 From: enkore Date: Mon, 3 Feb 2014 01:31:17 +0100 Subject: [PATCH] Fix cpu_usage not accepting settings --- i3pystatus/cpu_usage.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/i3pystatus/cpu_usage.py b/i3pystatus/cpu_usage.py index ec4b9a5..f1a832a 100644 --- a/i3pystatus/cpu_usage.py +++ b/i3pystatus/cpu_usage.py @@ -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