small speedups/cleanups by moritz venn
[vuplus_dvbapp] / lib / python / Components / UsageConfig.py
index 21e057f..26138f2 100644 (file)
@@ -118,7 +118,7 @@ def updateChoices(sel, choices):
                defval = None
                val = int(sel.value)
                if not val in choices:
-                       tmp = choices+[]
+                       tmp = choices[:]
                        tmp.reverse()
                        for x in tmp:
                                if x < val: