git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Notification support in TaskView
[enigma2.git]
/
lib
/
python
/
Components
/
UsageConfig.py
diff --git
a/lib/python/Components/UsageConfig.py
b/lib/python/Components/UsageConfig.py
index ad95b3c27cd9b7627e8e37cc51123247ecfe668a..cfdb4589a3e52f9d69143b5290a6d9c2bb3b7084 100644
(file)
--- a/
lib/python/Components/UsageConfig.py
+++ b/
lib/python/Components/UsageConfig.py
@@
-109,14
+109,13
@@
def InitUsageConfig():
def updateChoices(sel, choices):
if choices:
def updateChoices(sel, choices):
if choices:
-
defval = None
-
val = int(sel.value)
+ defval = None
+ val = int(sel.value)
if not val in choices:
if not val in choices:
-
tmp = choices+[]
-
tmp.reverse()
-
for x in tmp:
-
if x < val:
-
defval = str(x)
-
break
+ tmp = choices+[]
+ tmp.reverse()
+ for x in tmp:
+ if x < val:
+ defval = str(x)
+ break
sel.setChoices(map(str, choices), defval)
sel.setChoices(map(str, choices), defval)
-