mirror of
https://github.com/Hopiu/python-markdown-oembed.git
synced 2026-03-16 22:10:24 +00:00
Update inlinepatterns.py
This commit is contained in:
parent
8768a5a546
commit
c1088492e0
1 changed files with 2 additions and 0 deletions
|
|
@ -32,5 +32,7 @@ class OEmbedLinkPattern(Pattern):
|
|||
response = self.consumer.embed(url)
|
||||
except oembed.OEmbedNoEndpoint:
|
||||
return None
|
||||
except Exception as e:
|
||||
return None
|
||||
else:
|
||||
return response['html']
|
||||
|
|
|
|||
Loading…
Reference in a new issue