From 76e5181cade262b86610dcc851bcb4452196ccdc Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 12 Feb 2009 21:25:08 +0100 Subject: small speedups/cleanups by moritz venn --- lib/python/Components/TimerList.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/python/Components/TimerList.py') diff --git a/lib/python/Components/TimerList.py b/lib/python/Components/TimerList.py index f8474374..a237c364 100644 --- a/lib/python/Components/TimerList.py +++ b/lib/python/Components/TimerList.py @@ -25,7 +25,7 @@ class TimerList(HTMLComponent, GUIComponent, object): if timer.repeated: flags = timer.repeated count = 0 - for x in range(0, 7): + for x in (0, 1, 2, 3, 4, 5, 6): if (flags & 1 == 1): if (count != 0): repeatedtext += ", " -- cgit v1.2.3