Fix typo and twitter syntax

This commit is contained in:
pluja 2020-09-08 13:18:08 +02:00
parent 17dede55ab
commit b075a14d4f
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -89,7 +89,7 @@
<p><b>Active users:</b> {{info.active}}</p>
</div>
<div class="ui segment">
<p><b>Server location:</b> {{config.location}}</p>
<p><b>Server location:</b> {{config.serverLocation}}</p>
</div>
<div class="ui segment">
<p><a href="https://github.com/pluja/Yotter#donate">Consider making a donation</a></p>