aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-06-04 15:55:28 +0200
committerghost <andreas.monzner@multimedia-labs.de>2010-06-04 15:55:28 +0200
commit7f65493b92e7e5a10c49cb4de595f6449382ffc8 (patch)
tree226cab9548d4a3fb0dae8a8f17cb96384c699d71
parent22a7d3d31a7ea48ab27b2790d0e4b9acfbe02bde (diff)
downloadenigma2-7f65493b92e7e5a10c49cb4de595f6449382ffc8.tar.gz
enigma2-7f65493b92e7e5a10c49cb4de595f6449382ffc8.zip
skin.py: another small fix for non color oled displays
-rwxr-xr-xskin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/skin.py b/skin.py
index 542c2715..a20f3eb8 100755
--- a/skin.py
+++ b/skin.py
@@ -403,9 +403,9 @@ def lookupScreen(name, style_id):
for x in skin.findall("screen"):
if x.attrib.get('name', '') == name:
screen_style_id = x.attrib.get('id', None)
- if screen_style_id is None and name.find('Summary') > 0:
+ if screen_style_id is None and name.find('ummary') > 0:
screen_style_id = 1
- if screen_style_id is None or screen_style_id == style_id:
+ if screen_style_id is None or int(screen_style_id) == style_id:
return x, path
return None, None