From 37fb6aa6bc7a1c6bd0c7c029adaf2215f17050b6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 30 Aug 2019 13:18:39 +0100 Subject: [PATCH] Typo --- webinterface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webinterface.py b/webinterface.py index 1f5858437..84ac947db 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1197,7 +1197,7 @@ def addEmbeddedAudio(content: str) -> str: w=w[:-1] if w.endswith(':'): w=w[:-1] - if not w.endswidth(extension): + if not w.endswith(extension): continue if not (w.startswith('http') or w.startswith('dat:') or '/' in w): continue @@ -1230,7 +1230,7 @@ def addEmbeddedVideo(content: str,width=400,height=300) -> str: w=w[:-1] if w.endswith(':'): w=w[:-1] - if not w.endswidth(extension): + if not w.endswith(extension): continue if not (w.startswith('http') or w.startswith('dat:') or '/' in w): continue