mirror of
https://github.com/Hopiu/django-embed-video.git
synced 2026-03-17 05:40:24 +00:00
Fix formatting string
This commit is contained in:
parent
2b7308e8ea
commit
e3f01b0c78
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ class VideoBackend(object):
|
|||
# Derive backend name from class name
|
||||
backend_name = self.__class__.__name__[:-7].upper()
|
||||
default = getattr(self, 'default_query', {})
|
||||
settings_key = 'EMBED_VIDEO_{}_QUERY'.format(backend_name)
|
||||
settings_key = 'EMBED_VIDEO_{0}_QUERY'.format(backend_name)
|
||||
return getattr(settings, settings_key, default).copy()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue