Explorar o código

no match on error

David %!s(int64=10) %!d(string=hai) anos
pai
achega
00ee911bf5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      news.py

+ 1 - 0
news.py

@@ -36,6 +36,7 @@ class News():
         except Exception:
             print("ERROR parsing/downloading article")
             self.ERROR=True
+            self.MATCHES=False
             return
         a.nlp()
         a.authors=self.dedup([self.fix_author(value) for value in a.authors if not self.isComment(value) and not self.isNoise(value)])