summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/utils/widgets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/utils/widgets.py b/app/utils/widgets.py
index 3c97b12..3309978 100644
--- a/app/utils/widgets.py
+++ b/app/utils/widgets.py
@@ -163,7 +163,7 @@ def parse_image(s):
def parse_video(s):
soup = BeautifulSoup(s.group(), "lxml")
- for vid in soup.find_all('video'):
+ if soup.find('video'):
return True
return False