Przeglądaj źródła

no match on error

David 10 lat temu
rodzic
commit
00ee911bf5
1 zmienionych plików z 1 dodań i 0 usunięć
  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)])