diff options
author | luxagraf <sng@luxagraf.net> | 2016-11-19 19:41:13 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-11-19 19:41:13 -0500 |
commit | 60f800a5922af0b4bcc8dcee1fde829059910fd3 (patch) | |
tree | dc93320550130cbdc89febdd08b4019418c74bc0 /app/utils/widgets.py | |
parent | 99a23d820bc0abd93aa55ab53f0c8f1a5598175f (diff) |
fixed bug in video parser
Diffstat (limited to 'app/utils/widgets.py')
-rw-r--r-- | app/utils/widgets.py | 2 |
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 |