From ccaefc46e959bdcbf5d3c49ae3b5544d87fa7d7b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 30 Aug 2019 17:24:40 +0100 Subject: [PATCH] Avoid duplicates --- webinterface.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index 8bd2b579c..ba0389b9f 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1183,6 +1183,9 @@ def addEmbeddedAudio(content: str) -> str: if not ('.mp3' in content or '.ogg' in content): return content + if '