X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/726a696a8d423d9f994767f2df01e135f07fca96..f80cd44acb9f06d348f3b0fb09036d7db7e83b66:/skin.py diff --git a/skin.py b/skin.py index 378f4df1..4f2260d6 100644 --- a/skin.py +++ b/skin.py @@ -255,8 +255,7 @@ def loadSingleSkinData(desktop, skin, path_prefix): bpp = 32 #print "Resolution:", xres,yres,bpp from enigma import gFBDC - i = gFBDC.getInstance() - i.setResolution(xres, yres) + gFBDC.getInstance().setResolution(xres, yres) if bpp != 32: # load palette (not yet implemented) pass @@ -266,7 +265,6 @@ def loadSingleSkinData(desktop, skin, path_prefix): get_attr = color.attrib.get name = get_attr("name") color = get_attr("value") - if name and color: colorNames[name] = parseColor(color) #print "Color:", name, color