mirror of https://gitlab.com/bashrc2/epicyon
Remove newline
parent
ca76479059
commit
bc09384db6
1
blog.py
1
blog.py
|
@ -75,6 +75,7 @@ def noOfBlogReplies(baseDir: str, httpPrefix: str, translate: {},
|
|||
str(len(removals)) + ' entries')
|
||||
with open(postFilename, "w") as f:
|
||||
for replyPostId in lines:
|
||||
replyPostId = replyPostId.replace('\n', '')
|
||||
if replyPostId not in removals:
|
||||
f.write(replyPostId + '\n')
|
||||
|
||||
|
|
Loading…
Reference in New Issue