forked from indymedia/epicyon
Typo
parent
2fe5d06d3b
commit
37fb6aa6bc
|
@ -1197,7 +1197,7 @@ def addEmbeddedAudio(content: str) -> str:
|
||||||
w=w[:-1]
|
w=w[:-1]
|
||||||
if w.endswith(':'):
|
if w.endswith(':'):
|
||||||
w=w[:-1]
|
w=w[:-1]
|
||||||
if not w.endswidth(extension):
|
if not w.endswith(extension):
|
||||||
continue
|
continue
|
||||||
if not (w.startswith('http') or w.startswith('dat:') or '/' in w):
|
if not (w.startswith('http') or w.startswith('dat:') or '/' in w):
|
||||||
continue
|
continue
|
||||||
|
@ -1230,7 +1230,7 @@ def addEmbeddedVideo(content: str,width=400,height=300) -> str:
|
||||||
w=w[:-1]
|
w=w[:-1]
|
||||||
if w.endswith(':'):
|
if w.endswith(':'):
|
||||||
w=w[:-1]
|
w=w[:-1]
|
||||||
if not w.endswidth(extension):
|
if not w.endswith(extension):
|
||||||
continue
|
continue
|
||||||
if not (w.startswith('http') or w.startswith('dat:') or '/' in w):
|
if not (w.startswith('http') or w.startswith('dat:') or '/' in w):
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue