make sure final post actually gets added to list
This commit is contained in:
parent
30a57d1461
commit
033054821b
@ -27,6 +27,8 @@ def split_posts_by_length(text, length):
|
||||
else:
|
||||
posts.append(post)
|
||||
post = chunk
|
||||
if post:
|
||||
posts.append(post)
|
||||
return posts
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user