summaryrefslogtreecommitdiffstats
path: root/modules/keyboard-layout.py
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2014-05-27 12:31:44 +0200
committerUltrabug <ultrabug@gentoo.org>2014-05-27 12:31:44 +0200
commit277b0008c2d779a98605737bc91ca75e6b364728 (patch)
treeb84f4ff7258759fd958b19a12e94f310f6605c0e /modules/keyboard-layout.py
parent9d1b932062fc4d9a236098c33ee8d2e447df3d41 (diff)
normalize the CACHE_TIMEOUT variable name
Diffstat (limited to 'modules/keyboard-layout.py')
-rw-r--r--modules/keyboard-layout.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/keyboard-layout.py b/modules/keyboard-layout.py
index 6fd4019..97ef716 100644
--- a/modules/keyboard-layout.py
+++ b/modules/keyboard-layout.py
@@ -13,7 +13,7 @@ Requires:
@license Eclipse Public License
"""
-CACHE_TIME = 10 # refresh time to update indicator
+CACHE_TIMEOUT = 10 # refresh time to update indicator
# colors of layouts, check your command's output to match keys
LANG_COLORS = {
@@ -57,7 +57,7 @@ class Py3status:
response = {
'full_text': '',
'name': 'keyboard-layout',
- 'cached_until': time() + CACHE_TIME
+ 'cached_until': time() + CACHE_TIMEOUT
}
lang = self.command().strip()