From 7caa3ecd3e386b13893782186ec94980a1eff3a8 Mon Sep 17 00:00:00 2001 From: Frechdachs Date: Fri, 22 Jul 2016 19:45:51 +0200 Subject: [PATCH] Fix wrong dictionary key Fixes the problem that one had to use ``{format_all}`` while the documentation clearly states ``{usage_all}`` --- i3pystatus/cpu_usage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3pystatus/cpu_usage.py b/i3pystatus/cpu_usage.py index b99b12f..c4e6e13 100644 --- a/i3pystatus/cpu_usage.py +++ b/i3pystatus/cpu_usage.py @@ -113,7 +113,7 @@ class CpuUsage(IntervalModule): def run(self): usage = self.get_usage() - usage['format_all'] = self.gen_format_all(usage) + usage['usage_all'] = self.gen_format_all(usage) # for backward compatibility usage['usage'] = usage['usage_cpu']