From b075a14d4fd444c4d311968e9e9da0d17c6c3bc3 Mon Sep 17 00:00:00 2001 From: pluja Date: Tue, 8 Sep 2020 13:18:08 +0200 Subject: [PATCH] Fix typo and twitter syntax --- app/routes.py | 2 +- app/templates/settings.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/routes.py b/app/routes.py index b2612be..39b91c8 100644 --- a/app/routes.py +++ b/app/routes.py @@ -649,7 +649,7 @@ def getFeed(urls): newPost.twitterName = post.find('a', attrs={'class':'fullname'}).text newPost.timeStamp = datetime.datetime.strptime(date_time_str, '%d/%m/%Y %H:%M:%S') newPost.date = post.find('span', attrs={'class':'tweet-date'}).find('a').text - newPost.content = markupString(Markup(post.find('div', attrs={'class':'tweet-content'}))) + newPost.content = Markup(post.find('div', attrs={'class':'tweet-content'})) if post.find('div', attrs={'class':'retweet-header'}): newPost.username = post.find('div', attrs={'class':'retweet-header'}).find('div', attrs={'class':'icon-container'}).text diff --git a/app/templates/settings.html b/app/templates/settings.html index 64f38ca..f744467 100644 --- a/app/templates/settings.html +++ b/app/templates/settings.html @@ -89,7 +89,7 @@

Active users: {{info.active}}

-

Server location: {{config.location}}

+

Server location: {{config.serverLocation}}

Consider making a donation