From 70155b2f182406ea9cf9e0d840aa0e393b394746 Mon Sep 17 00:00:00 2001 From: enkore Date: Sat, 23 Feb 2013 19:05:57 +0100 Subject: [PATCH] Fixed clock (my bad) --- i3pystatus/clock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3pystatus/clock.py b/i3pystatus/clock.py index 40a1e06..b2373d5 100644 --- a/i3pystatus/clock.py +++ b/i3pystatus/clock.py @@ -17,7 +17,7 @@ class Clock(IntervalModule): lang = os.environ.get('LANG', None) if lang: locale.setlocale(locale.LC_ALL, lang) - if self.format is not None: + if self.format is None: lang = locale.getlocale()[0] if lang == 'en_US': # MDY format - United States of America