Separator image path

merge-requests/8/head
Bob Mottram 2020-11-07 12:14:12 +00:00
parent 311e28f2ab
commit d1e197326c
1 changed files with 3 additions and 2 deletions

View File

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