mirror of https://gitlab.com/bashrc2/epicyon
More generic
parent
7369f62a8e
commit
120a3329c2
|
@ -5871,12 +5871,16 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str,
|
||||||
theme = ''
|
theme = ''
|
||||||
else:
|
else:
|
||||||
theme = '_' + theme
|
theme = '_' + theme
|
||||||
themeRightColumnImageFilename = \
|
themeRightImageFile, themeRightColumnImageFilename = \
|
||||||
baseDir + '/img/right_col_image' + theme + '.png'
|
getImageFile(baseDir, 'right_col_image', baseDir + '/img',
|
||||||
|
nickname, domain)
|
||||||
if os.path.isfile(themeRightColumnImageFilename):
|
if os.path.isfile(themeRightColumnImageFilename):
|
||||||
|
rightColumnImageFilename = \
|
||||||
|
baseDir + '/accounts/' + \
|
||||||
|
nickname + '@' + domain + '/' + themeRightImageFile
|
||||||
copyfile(themeRightColumnImageFilename,
|
copyfile(themeRightColumnImageFilename,
|
||||||
rightColumnImageFilename)
|
rightColumnImageFilename)
|
||||||
rightImageFile = 'right_col_image.png'
|
rightImageFile = themeRightImageFile
|
||||||
|
|
||||||
# show the image at the top of the column
|
# show the image at the top of the column
|
||||||
editImageClass = 'rightColEdit'
|
editImageClass = 'rightColEdit'
|
||||||
|
|
Loading…
Reference in New Issue