forked from indymedia/epicyon
Remove any line ending
parent
3f53b06517
commit
1e31a05f19
2
posts.py
2
posts.py
|
@ -1238,7 +1238,7 @@ def createBlogPost(baseDir: str,
|
|||
with open(citationsFilename, "r") as f:
|
||||
citations = f.readlines()
|
||||
for line in citations:
|
||||
sections = line.split(citationsSeparator)
|
||||
sections = line.strip().split(citationsSeparator)
|
||||
dateStr = sections[0]
|
||||
title = sections[1]
|
||||
link = sections[2]
|
||||
|
|
Loading…
Reference in New Issue