* src/plugins/BookReport.py (BookList.parse): Catch ValueError

exception (coming from urllib2).


svn: r7367
This commit is contained in:
Alex Roitman
2006-10-08 02:38:51 +00:00
parent 3fb2a191a0
commit bec0ca3155
2 changed files with 3 additions and 1 deletions

View File

@@ -401,7 +401,7 @@ class BookList:
p = make_parser()
p.setContentHandler(BookParser(self))
p.parse(self.file)
except (IOError,OSError,SAXParseException):
except (IOError,OSError,ValueError,SAXParseException):
pass