kopia lustrzana https://github.com/wagtail/wagtail
Merge pull request #303 from jeffrey-hearn/embedly-cleanup
Bug: Embedly key argument never usedpull/304/head
commit
1e3dd2695d
|
@ -52,7 +52,7 @@ def embedly(url, max_width=None, key=None):
|
||||||
key = settings.EMBEDLY_KEY
|
key = settings.EMBEDLY_KEY
|
||||||
|
|
||||||
# Get embedly client
|
# Get embedly client
|
||||||
client = Embedly(key=settings.EMBEDLY_KEY)
|
client = Embedly(key=key)
|
||||||
|
|
||||||
# Call embedly
|
# Call embedly
|
||||||
if max_width is not None:
|
if max_width is not None:
|
||||||
|
|
Ładowanie…
Reference in New Issue