bugfix
authorRadek Czajka <rczajka@rczajka.pl>
Mon, 21 Aug 2023 11:48:21 +0000 (13:48 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Mon, 21 Aug 2023 11:48:21 +0000 (13:48 +0200)
src/depot/publishers/woblink.py

index cb64a15..c8037fa 100644 (file)
@@ -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 = []