Separator path

merge-requests/8/head
Bob Mottram 2020-11-07 12:17:14 +00:00
parent d1e197326c
commit 6782c23a32
1 changed files with 2 additions and 4 deletions

View File

@ -6801,14 +6801,12 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
# This changes depending upon theme
iconsDir = getIconsDir(baseDir)
separatorImageFilename = iconsDir + '/separator.png'
separatorImageFilename = baseDir + '/img/' + iconsDir + '/separator.png'
separatorStr = ''
print('separatorImageFilename: ' + separatorImageFilename)
if os.path.isfile(separatorImageFilename):
separatorStr = \
'<div class="postSeparatorImage">' + \
'<img src="/' + \
iconsDir.split('/img/')[1] + '/separator.png"/>' + \
'<img src="/' + iconsDir + '/separator.png"/>' + \
'</div>\n'
# the css filename