fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix for covers.
[librarian.git]
/
src
/
librarian
/
elements
/
figures
/
ilustr.py
diff --git
a/src/librarian/elements/figures/ilustr.py
b/src/librarian/elements/figures/ilustr.py
index
c6105f4
..
af936fb
100644
(file)
--- a/
src/librarian/elements/figures/ilustr.py
+++ b/
src/librarian/elements/figures/ilustr.py
@@
-43,8
+43,8
@@
class Ilustr(WLElement):
return {
'src': file_name,
- 'alt': self.attrib
['alt']
,
- 'title': self.attrib
['alt']
,
+ 'alt': self.attrib
.get('alt', '')
,
+ 'title': self.attrib
.get('alt', '')
,
}
get_epub_attr = get_html_attr