aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-11-26 16:41:23 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-11-26 16:41:23 +0000
commitc535962003396cd1d7efe448ece3a5f0d3f2fc94 (patch)
tree1e0f41ae435e75dd209343e71efcbaa6efe6f15f
parent2e62e4d78ea265cafc1021b46f3b35e55a2140dd (diff)
downloadenigma2-c535962003396cd1d7efe448ece3a5f0d3f2fc94.tar.gz
enigma2-c535962003396cd1d7efe448ece3a5f0d3f2fc94.zip
reset config.skin.primary_skin to default skin on skin load error
-rw-r--r--skin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/skin.py b/skin.py
index baa53f74..ed48546e 100644
--- 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):