X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=skin.py;h=5b8ce650f18e2c63c7fce121c2e0a90734e4d211;hp=5fcaa11094c05d4295cc25092748ee212cc76dfc;hb=a13c7eb8d063f3fc68562dfa3ffb8cbfc814219e;hpb=a9f871b933a8771d6946395df1e1f0569b3cf582 diff --git a/skin.py b/skin.py index 5fcaa11..5b8ce65 100644 --- a/skin.py +++ b/skin.py @@ -28,7 +28,7 @@ class SkinError(Exception): self.msg = message def __str__(self): - return "{%s}: %s" % (config.skin.primary_skin, self.msg) + return "{%s}: %s" % (config.skin.primary_skin.value, self.msg) dom_skins = [ ] @@ -119,7 +119,7 @@ def collectAttributes(skinAttributes, node, skin_path_prefix=None, ignore=[]): value = resolveFilename(SCOPE_SKIN_IMAGE, value, path_prefix=skin_path_prefix) if attrib not in ignore: - skinAttributes.append((attrib, value)) + skinAttributes.append((attrib, value.encode("utf-8"))) def loadPixmap(path, desktop): cached = False