Use system account banner

main
Bob Mottram 2020-10-13 12:21:44 +01:00
parent e64620a876
commit 66a2b87ebe
1 changed files with 4 additions and 0 deletions

View File

@ -3487,6 +3487,10 @@ def htmlProfile(defaultTimeline: str,
profileStyle = \ profileStyle = \
cssFile.read().replace('image.png', cssFile.read().replace('image.png',
profileJson['image']['url']) profileJson['image']['url'])
if isSystemAccount(nickname):
profileStyle = \
profileStyle.replace('banner.png',
'/users/' + nickname + '/' + bannerFile)
licenseStr = \ licenseStr = \
'<a href="https://gitlab.com/bashrc2/epicyon">' + \ '<a href="https://gitlab.com/bashrc2/epicyon">' + \