Changes
This commit is contained in:
parent
a434a3ba1f
commit
8ec5b853ad
1 changed files with 4 additions and 1 deletions
|
@ -440,7 +440,10 @@ def MainPage(server):
|
|||
Accounts = accounts()
|
||||
owner = config.get("main_account", "")
|
||||
mastodon = Accounts[owner].get("mastodon")
|
||||
mastoposts = API.Mastodon(mastohead(mastodon), 8).copy()
|
||||
if mastodon:
|
||||
mastoposts = API.Mastodon(mastohead(mastodon), 8).copy()
|
||||
else:
|
||||
mastoposts = []
|
||||
|
||||
html = html + '<div class="flexity">'
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue