Don't die if there is nothing yet...
This commit is contained in:
parent
aaab9e1e83
commit
7f1f432f73
@ -81,7 +81,7 @@ class copy:
|
||||
if len(lines) == 1:
|
||||
target.appendChild(self.dom.createTextNode(source))
|
||||
self.textlen = len(lines[0])
|
||||
else:
|
||||
elif lines:
|
||||
excerpt = source[:len(lines[0])-self.textlen] + u' \u2026'
|
||||
target.appendChild(dom.createTextNode(excerpt))
|
||||
self.full = True
|
||||
|
Loading…
Reference in New Issue
Block a user