reset config.skin.primary_skin to default skin on skin load error
[enigma2.git] / skin.py
diff --git a/skin.py b/skin.py
index baa53f7..ed48546 100644 (file)
--- a/skin.py
+++ b/skin.py
@@ -56,7 +56,9 @@ try:
 except (SkinError, IOError, AssertionError), err:
        print "SKIN ERROR:", err
        print "defaulting to standard skin..."
+       config.skin.primary_skin.value = 'skin.xml'
        loadSkin('skin.xml')
+
 loadSkin('skin_default.xml')
 
 def parsePosition(str):