mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-05-23 19:55:50 +00:00
No need to call spec; the registry does that
This commit is contained in:
parent
0c4d9738c6
commit
3e2c3803ff
1 changed files with 0 additions and 2 deletions
|
|
@ -35,8 +35,6 @@ class SpecResultNodeMixin(object):
|
||||||
autodiscover()
|
autodiscover()
|
||||||
spec_id = self._spec_id.resolve(context)
|
spec_id = self._spec_id.resolve(context)
|
||||||
spec = specs.registry.get_spec(spec_id) # TODO: What "hints" here?
|
spec = specs.registry.get_spec(spec_id) # TODO: What "hints" here?
|
||||||
if callable(spec):
|
|
||||||
spec = spec()
|
|
||||||
return spec
|
return spec
|
||||||
|
|
||||||
def get_source_file(self, context):
|
def get_source_file(self, context):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue