From 77d7340fd113c7e9ab2d62ace9c7e7b6eb57cd8a Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Fri, 20 Oct 2006 12:35:59 +0000 Subject: [PATCH] also catch IOErrors when reading skins --- skin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skin.py b/skin.py index 9c18fda6..52b55360 100644 --- a/skin.py +++ b/skin.py @@ -53,7 +53,7 @@ config.skin.primary_skin = ConfigText(default = "skin.xml") try: loadSkin(config.skin.primary_skin.value) -except SkinError, err: +except (SkinError, IOError), err: print "SKIN ERROR:", err print "defaulting to standard skin..." loadSkin('skin.xml') -- 2.30.2