diff --git a/nlputils.py b/nlputils.py index e72dfa4..0d1c9a7 100644 --- a/nlputils.py +++ b/nlputils.py @@ -45,7 +45,7 @@ def split_wiki(path,lang): if len(title)>150: continue if f: f.close() f = (dest/f'{title}.txt').open('w') + elif l.startswith(''): continue else: f.write(l) f.close() return dest -