From: Radek Czajka Date: Mon, 30 Oct 2023 14:31:18 +0000 (+0100) Subject: show isbn for woblink X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/1ceb9c4f943943f72da281d4fdb7473d70dcdff9?ds=sidebyside;hp=3c066ba7e839ef23861030410b03a3ff3cd70e6f show isbn for woblink --- diff --git a/src/depot/publishers/woblink.py b/src/depot/publishers/woblink.py index 0cd7a899..64eca06e 100644 --- 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ł)',