From e2aade95a06d06326d8f401e2836b846795aeb80 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 2 Mar 2014 23:20:24 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- examples/plugin-test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/plugin-test b/examples/plugin-test index 0a0113d..1bbf465 100644 --- a/examples/plugin-test +++ b/examples/plugin-test @@ -33,9 +33,9 @@ def redraw(): idle = 'Idle time: %s : %s : %1.2f%%' % (avg_idle, tot_idle, prc_idle * 100) loadavg_ = AverageLoad() - avg_5 = int(loadavg_.avg_5_min * 100) - avg_10 = int(loadavg_.avg_10_min * 100) - avg_15 = int(loadavg_.avg_15_min * 100) + avg_5 = int(loadavg_.average_avg_5_min * 100) + avg_10 = int(loadavg_.average_avg_10_min * 100) + avg_15 = int(loadavg_.average_avg_15_min * 100) act_tasks = loadavg_.active_tasks tot_tasks = loadavg_.total_tasks last_pid = loadavg_.last_pid -- cgit v1.2.3-70-g09d2