From: ghost Date: Fri, 4 Jun 2010 13:55:28 +0000 (+0200) Subject: skin.py: another small fix for non color oled displays X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=e801c8052a5daa60c576d5231cb90f7ae6ed6c33 skin.py: another small fix for non color oled displays --- diff --git a/skin.py b/skin.py index 542c271..a20f3eb 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