From 66a2b87ebed77464f1ccf4f9d078036d58c1d90d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 13 Oct 2020 12:21:44 +0100 Subject: [PATCH] Use system account banner --- webinterface.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webinterface.py b/webinterface.py index 3c1a8c60..c29841aa 100644 --- a/webinterface.py +++ b/webinterface.py @@ -3487,6 +3487,10 @@ def htmlProfile(defaultTimeline: str, profileStyle = \ cssFile.read().replace('image.png', profileJson['image']['url']) + if isSystemAccount(nickname): + profileStyle = \ + profileStyle.replace('banner.png', + '/users/' + nickname + '/' + bannerFile) licenseStr = \ '' + \