* src/plugins/BookReport.py (BookList.parse): Catch ValueError
exception (coming from urllib2). svn: r7367
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user