From: Radek Czajka Date: Mon, 21 Aug 2023 11:48:21 +0000 (+0200) Subject: bugfix X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/042546599575e59a9cb74c91194e3e3af4824447?hp=2dd4071b8858c9727ee3e2c09b73b1eadef6e31e bugfix --- diff --git a/src/depot/publishers/woblink.py b/src/depot/publishers/woblink.py index cb64a156..c8037fa4 100644 --- a/src/depot/publishers/woblink.py +++ b/src/depot/publishers/woblink.py @@ -267,7 +267,7 @@ class Woblink(BasePublisher): m = re.search(r'<[^>]+$', parts[0]) if m is not None: - parts[0] = parts[:-len(m.group(0))] + parts[0] = parts[0][:-len(m.group(0))] parts[1] = m.group(0) + parts[1] opened = []