From 5ee36ba2141cb5a4862335d361e0d94f3c4fa6b1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 13 Jul 2025 09:45:00 +0530 Subject: [PATCH] Fix #2116065 [series mapping rules cut off replacement at "," - in metadata download view](https://bugs.launchpad.net/calibre/+bug/2116065) --- src/calibre/ebooks/metadata/sources/identify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/ebooks/metadata/sources/identify.py b/src/calibre/ebooks/metadata/sources/identify.py index 5c52fa09b4..584922e47d 100644 --- a/src/calibre/ebooks/metadata/sources/identify.py +++ b/src/calibre/ebooks/metadata/sources/identify.py @@ -534,10 +534,10 @@ def identify(log, abort, # {{{ if getattr(r.pubdate, 'year', 2000) <= UNDEFINED_DATE.year: r.pubdate = None if pm_rules and r.publisher: - pubs = map_tags([r.publisher], pm_rules) + pubs = map_tags([r.publisher], pm_rules, separator='') r.publisher = pubs[0] if pubs else '' if s_rules and r.series: - ss = map_tags([r.series], s_rules) + ss = map_tags([r.series], s_rules, separator='') r.series = ss[0] if ss else '' if msprefs['swap_author_names']: