mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-23 16:14:48 +00:00
Fix syntax error (oops)
This commit is contained in:
parent
6495bb6736
commit
73cc896a4f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue