kopia lustrzana https://github.com/wagtail/wagtail
Cleanup of embedly settings load
rodzic
28df142549
commit
e3fb485a87
|
@ -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:
|
||||
|
|
Ładowanie…
Reference in New Issue