git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22a7d3d
)
skin.py: another small fix for non color oled displays
author
ghost
<andreas.monzner@multimedia-labs.de>
Fri, 4 Jun 2010 13:55:28 +0000
(15:55 +0200)
committer
ghost
<andreas.monzner@multimedia-labs.de>
Fri, 4 Jun 2010 13:55:28 +0000
(15:55 +0200)
skin.py
patch
|
blob
|
history
diff --git
a/skin.py
b/skin.py
index 542c2715e36ecad7cc920725e5f2e621f394fa83..a20f3eb8540821794ebe221fbc36f1f67dad6d1d 100755
(executable)
--- 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('
S
ummary') > 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