Define variable

main
Bob Mottram 2020-10-30 18:45:03 +00:00
parent 42001ea274
commit 544e3685e4
1 changed files with 1 additions and 1 deletions

View File

@ -5592,6 +5592,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
if ':' in domain: if ':' in domain:
domain = domain.split(':') domain = domain.split(':')
editImageClass = 'leftColEdit'
if showHeaderImage: if showHeaderImage:
leftColumnImageFilename = \ leftColumnImageFilename = \
baseDir + '/accounts/' + nickname + '@' + domain + \ baseDir + '/accounts/' + nickname + '@' + domain + \
@ -5609,7 +5610,6 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
leftColumnImageFilename) leftColumnImageFilename)
# show the image at the top of the column # show the image at the top of the column
editImageClass = 'leftColEdit'
if os.path.isfile(leftColumnImageFilename): if os.path.isfile(leftColumnImageFilename):
editImageClass = 'leftColEditImage' editImageClass = 'leftColEditImage'
htmlStr += \ htmlStr += \