mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-06 08:52:55 +01:00
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 -_-
This commit is contained in:
parent
4a9da1c02e
commit
ff402c16ca
1 changed files with 3 additions and 1 deletions
|
|
@ -502,8 +502,10 @@ class FictionLiveAdapter(BaseSiteAdapter):
|
||||||
# now matches the site and does *not* include dicerolls as posts!
|
# 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."
|
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 = ""
|
||||||
output += u"<h4><span>Reader Posts — <small> Posting " + closed
|
output += u"<h4><span>" + posts_title + " — <small> Posting " + closed
|
||||||
output += u" — " + num_votes + "</small></span></h4>\n"
|
output += u" — " + num_votes + "</small></span></h4>\n"
|
||||||
|
|
||||||
## so. a voter can roll with their post. these rolls are in a seperate dict, but have the **same uid**.
|
## so. a voter can roll with their post. these rolls are in a seperate dict, but have the **same uid**.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue