From e3fb485a8761160cf1908e3f2ab499d2c81b1f84 Mon Sep 17 00:00:00 2001 From: Jeffrey Hearn Date: Sun, 8 Jun 2014 01:30:35 -0400 Subject: [PATCH] Cleanup of embedly settings load --- wagtail/wagtailembeds/embeds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wagtail/wagtailembeds/embeds.py b/wagtail/wagtailembeds/embeds.py index f8ab35f165..42f396df96 100644 --- a/wagtail/wagtailembeds/embeds.py +++ b/wagtail/wagtailembeds/embeds.py @@ -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: