fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
procent
[wolnelektury.git]
/
src
/
catalogue
/
fields.py
diff --git
a/src/catalogue/fields.py
b/src/catalogue/fields.py
index
087fe0d
..
94bdb60
100644
(file)
--- a/
src/catalogue/fields.py
+++ b/
src/catalogue/fields.py
@@
-306,7
+306,7
@@
class HtmlField(EbookField):
book = fieldfile.instance
book = fieldfile.instance
- html_output = self.transform(book.wldocument(parse_dublincore=False))
+ html_output = self.transform(book.wldocument(parse_dublincore=False)
, book
)
# Delete old fragments, create from scratch if necessary.
book.fragments.all().delete()
# Delete old fragments, create from scratch if necessary.
book.fragments.all().delete()