Fix syntax error (oops)

This commit is contained in:
Karl Hobley 2015-10-08 09:37:21 +01:00
parent 6495bb6736
commit 73cc896a4f

View file

@ -123,7 +123,7 @@ def get_default_finder():
return import_string(settings.WAGTAILEMBEDS_EMBED_FINDER)
# Use embedly if the embedly key is set
if hasattr(settings, 'WAGTAILEMBEDS_EMBEDLY_KEY') or hasattr(settings, 'EMBEDLY_KEY')::
if hasattr(settings, 'WAGTAILEMBEDS_EMBEDLY_KEY') or hasattr(settings, 'EMBEDLY_KEY'):
return embedly
# Fall back to oembed