fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
better login/register page (new default login)
[wolnelektury.git]
/
src
/
catalogue
/
models
/
book.py
diff --git
a/src/catalogue/models/book.py
b/src/catalogue/models/book.py
index
dc6ba50
..
3ab26c6
100644
(file)
--- a/
src/catalogue/models/book.py
+++ b/
src/catalogue/models/book.py
@@
-349,7
+349,7
@@
class Book(models.Model):
urllib.urlretrieve('%s/%s' % (remote_gallery_url, ilustr_src), ilustr_path)
def load_abstract(self):
urllib.urlretrieve('%s/%s' % (remote_gallery_url, ilustr_src), ilustr_path)
def load_abstract(self):
- abstract = self.wldocument().edoc.getroot().find('.//abstrakt')
+ abstract = self.wldocument(
parse_dublincore=False
).edoc.getroot().find('.//abstrakt')
if abstract is not None:
self.abstract = transform_abstrakt(abstract)
else:
if abstract is not None:
self.abstract = transform_abstrakt(abstract)
else: