Remove any line ending

main
Bob Mottram 2020-11-06 11:22:50 +00:00
parent 3f53b06517
commit 1e31a05f19
1 changed files with 1 additions and 1 deletions

View File

@ -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]