mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-26 17:44:48 +00:00
Merge pull request #303 from jeffrey-hearn/embedly-cleanup
Bug: Embedly key argument never used
This commit is contained in:
commit
1e3dd2695d
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ def embedly(url, max_width=None, key=None):
|
|||
key = settings.EMBEDLY_KEY
|
||||
|
||||
# Get embedly client
|
||||
client = Embedly(key=settings.EMBEDLY_KEY)
|
||||
client = Embedly(key=key)
|
||||
|
||||
# Call embedly
|
||||
if max_width is not None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue