fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Epub debugging.
[redakcja.git]
/
src
/
sources
/
document.py
diff --git
a/src/sources/document.py
b/src/sources/document.py
index
e46ce2f
..
876bda9
100644
(file)
--- a/
src/sources/document.py
+++ b/
src/sources/document.py
@@
-48,7
+48,7
@@
def add_rdf(root, book_source):
# created_at
etree.SubElement(desc, DCNS('date')).text = date.today().isoformat()
# date.pd
# created_at
etree.SubElement(desc, DCNS('date')).text = date.today().isoformat()
# date.pd
- etree.SubElement(desc, DCNS('date.pd')).text =
book.pd_year
+ etree.SubElement(desc, DCNS('date.pd')).text =
str(book.pd_year)
#publisher
etree.SubElement(desc, DCNS('publisher')). text = 'Fundacja Wolne Lektury'
#language
#publisher
etree.SubElement(desc, DCNS('publisher')). text = 'Fundacja Wolne Lektury'
#language