Skip to content

Commit

Permalink
Fix formatting string
Browse files Browse the repository at this point in the history
  • Loading branch information
yetty committed May 7, 2014
1 parent 2b7308e commit e3f01b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embed_video/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def get_default_query(self):
# 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()


Expand Down

0 comments on commit e3f01b0

Please sign in to comment.