Try to stop blank last slides being generated

This commit is contained in:
Tim Bentley 2009-09-03 05:46:09 +01:00
parent 555b9b92a5
commit a183d1cc8b

View File

@ -214,7 +214,7 @@ class Renderer(object):
if len(page) == page_length:
split_pages.append(page)
page = []
if len(page) > 0:
if len(page) > 0 and page != u' ':
split_pages.append(page)
return split_pages