From ff402c16ca50c1b19bea73cb9db03600965a7bee Mon Sep 17 00:00:00 2001 From: MacaroonRemarkable Date: Wed, 29 Oct 2025 11:47:26 -0700 Subject: [PATCH] Preserve original titles for Reader Post blocks from fiction.live (#1269) * Preserve original titles for Reader Post blocks from fiction.live * Update adapter_fictionlive.py Changed for py2 backward compatibility * Update adapter_fictionlive.py Switched to concatenation rather than .format * Update adapter_fictionlive.py Missing space -_- --- fanficfare/adapters/adapter_fictionlive.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fanficfare/adapters/adapter_fictionlive.py b/fanficfare/adapters/adapter_fictionlive.py index d5f561e2..f374fd52 100644 --- a/fanficfare/adapters/adapter_fictionlive.py +++ b/fanficfare/adapters/adapter_fictionlive.py @@ -502,8 +502,10 @@ class FictionLiveAdapter(BaseSiteAdapter): # now matches the site and does *not* include dicerolls as posts! num_votes = str(len(posts)) + " posts" if len(posts) != 0 else "be the first to post." + posts_title = chunk['b'] if 'b' in chunk else "Reader Posts" + output = "" - output += u"

Reader Posts — Posting " + closed + output += u"

" + posts_title + " — Posting " + closed output += u" — " + num_votes + "

\n" ## so. a voter can roll with their post. these rolls are in a seperate dict, but have the **same uid**.