From 3261b41abf57b0c32eb64f3d41327bb430d4520f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 6 Sep 2021 09:31:11 +0100 Subject: [PATCH] Check for duplicates --- webapp_timeline.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/webapp_timeline.py b/webapp_timeline.py index f375272ba..a4c158c77 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -900,10 +900,11 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str, timelineStartTime, boxName, '12') if currTlStr: - itemCtr += 1 - tlStr += textModeSeparator + currTlStr - if separatorStr: - tlStr += separatorStr + if currTlStr not in tlStr: + itemCtr += 1 + tlStr += textModeSeparator + currTlStr + if separatorStr: + tlStr += separatorStr if boxName == 'tlmedia': tlStr += '\n'