forked from indymedia/epicyon
Check number of fields per citation
parent
1e31a05f19
commit
933a11ca72
2
posts.py
2
posts.py
|
@ -1239,6 +1239,8 @@ def createBlogPost(baseDir: str,
|
||||||
citations = f.readlines()
|
citations = f.readlines()
|
||||||
for line in citations:
|
for line in citations:
|
||||||
sections = line.strip().split(citationsSeparator)
|
sections = line.strip().split(citationsSeparator)
|
||||||
|
if len(sections) != 3:
|
||||||
|
continue
|
||||||
dateStr = sections[0]
|
dateStr = sections[0]
|
||||||
title = sections[1]
|
title = sections[1]
|
||||||
link = sections[2]
|
link = sections[2]
|
||||||
|
|
Loading…
Reference in New Issue