diff --git a/src/TextDoc.py b/src/TextDoc.py index 526f6b371..a1e613454 100644 --- a/src/TextDoc.py +++ b/src/TextDoc.py @@ -457,6 +457,8 @@ class StyleSheetList: parser = make_parser() parser.setContentHandler(SheetParser(self)) parser.parse(self.file) + except IOError: + pass except: print "could not parse file"