From bc313e3b6e688e6d7798065948c2d3b7d304231c Mon Sep 17 00:00:00 2001 From: caryoscelus Date: Sun, 29 May 2022 20:58:10 +0400 Subject: [PATCH] fix SideBar --- plugins/Sidebar/SidebarPlugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Sidebar/SidebarPlugin.py b/plugins/Sidebar/SidebarPlugin.py index 69ad60f3..987751e6 100644 --- a/plugins/Sidebar/SidebarPlugin.py +++ b/plugins/Sidebar/SidebarPlugin.py @@ -431,12 +431,12 @@ class UiWebsocketPlugin(object):
{site_address} +
+ """)) donate_key = site.content_manager.contents.get("content.json", {}).get("donate", None) if type(donate_key) is str and len(donate_key) > 0: body.append(_(""" - -