Separator image path

main
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'
separatorStr = ''
print('separatorImageFilename: ' + separatorImageFilename)
if os.path.isfile(separatorImageFilename):
separatorStr = \
'<div class="postSeparatorImage">' + \
'<img src="' + \
iconsDir.replace(baseDir + '/img', '/separator.png') + '"/>' + \
'<img src="/' + \
iconsDir.split('/img/')[1] + '/separator.png"/>' + \
'</div>\n'
# the css filename