forked from openlp/openlp
Try to stop blank last slides being generated
This commit is contained in:
parent
555b9b92a5
commit
a183d1cc8b
@ -214,7 +214,7 @@ class Renderer(object):
|
|||||||
if len(page) == page_length:
|
if len(page) == page_length:
|
||||||
split_pages.append(page)
|
split_pages.append(page)
|
||||||
page = []
|
page = []
|
||||||
if len(page) > 0:
|
if len(page) > 0 and page != u' ':
|
||||||
split_pages.append(page)
|
split_pages.append(page)
|
||||||
return split_pages
|
return split_pages
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user