diff --git a/parse.py b/parse.py index 49fe201c..923ecbed 100644 --- a/parse.py +++ b/parse.py @@ -52,7 +52,7 @@ def parse_links(path): links += list(parser_func(file)) if links: break - except (ValueError, TypeError, IndexError, etree.ParseError): + except (ValueError, TypeError, IndexError, AttributeError, etree.ParseError): # parser not supported on this file pass