fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c066ba
)
show isbn for woblink
author
Radek Czajka
<rczajka@rczajka.pl>
Mon, 30 Oct 2023 14:31:18 +0000
(15:31 +0100)
committer
Radek Czajka
<rczajka@rczajka.pl>
Mon, 30 Oct 2023 14:31:18 +0000
(15:31 +0100)
src/depot/publishers/woblink.py
patch
|
blob
|
history
diff --git
a/src/depot/publishers/woblink.py
b/src/depot/publishers/woblink.py
index
0cd7a89
..
64eca06
100644
(file)
--- a/
src/depot/publishers/woblink.py
+++ b/
src/depot/publishers/woblink.py
@@
-332,6
+332,12
@@
class Woblink(BasePublisher):
errlist = d['warnings']
errlist.append(error.as_html())
+ if book_data.get('isbn'):
+ d['info'].append(format_html(
+ 'ISBN: {isbn}',
+ isbn=book_data['isbn'],
+ ))
+
if book_data.get('genres'):
d['info'].append(format_html(
'W kategoriach: {cat} ({price} zł)',