From 1ceb9c4f943943f72da281d4fdb7473d70dcdff9 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 30 Oct 2023 15:31:18 +0100 Subject: [PATCH] show isbn for woblink --- src/depot/publishers/woblink.py | 6 ++++++ 1 file changed, 6 insertions(+) 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ł)', -- 2.20.1