From af4fb2ed7bdb831dddbc09e885441e84a1739567 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 18 Sep 2019 10:53:13 +0100 Subject: [PATCH] Use custom profile --- webinterface.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webinterface.py b/webinterface.py index 1f5c754d9..85364b956 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2218,6 +2218,8 @@ def htmlIndividualPost(translate: {}, \ httpPrefix,projectVersion, \ False,authorized,False,False) cssFilename=baseDir+'/epicyon-profile.css' + if os.path.isfile(baseDir+'/epicyon.css'): + cssFilename=baseDir+'/epicyon.css' return htmlHeader(cssFilename)+postStr+htmlFooter() def htmlPostReplies(translate: {},baseDir: str, \ @@ -2238,6 +2240,8 @@ def htmlPostReplies(translate: {},baseDir: str, \ False,False,False,False) cssFilename=baseDir+'/epicyon-profile.css' + if os.path.isfile(baseDir+'/epicyon.css'): + cssFilename=baseDir+'/epicyon.css' return htmlHeader(cssFilename)+repliesStr+htmlFooter() def htmlRemoveSharedItem(translate: {},baseDir: str,actor: str,shareName: str) -> str: