fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
weird typo
[librarian.git]
/
librarian
/
epub.py
diff --git
a/librarian/epub.py
b/librarian/epub.py
index
5f017d4
..
333b56f
100644
(file)
--- a/
librarian/epub.py
+++ b/
librarian/epub.py
@@
-190,7
+190,7
@@
class Stanza(object):
tail = self.stanza.tail
self.stanza.clear()
self.stanza.tail = tail
tail = self.stanza.tail
self.stanza.clear()
self.stanza.tail = tail
- self.stanza.extend(
self.verses
)
+ self.stanza.extend(
verse for verse in self.verses if verse.text or len(verse) > 0
)
def open_normal_verse(self):
self.open_verse = self.stanza.makeelement("wers_normalny")
def open_normal_verse(self):
self.open_verse = self.stanza.makeelement("wers_normalny")