revert to standard skin on assertion faliures
[enigma2.git] / skin.py
diff --git a/skin.py b/skin.py
index 2183943..fc4721d 100644 (file)
--- a/skin.py
+++ b/skin.py
@@ -54,7 +54,7 @@ config.skin.primary_skin = ConfigText(default = "skin.xml")
 
 try:
        loadSkin(config.skin.primary_skin.value)
-except (SkinError, IOError), err:
+except (SkinError, IOError, AssertionError), err:
        print "SKIN ERROR:", err
        print "defaulting to standard skin..."
        loadSkin('skin.xml')