From 3e2c3803ff1dbe353d2131ee6fcd7b13bb386e6d Mon Sep 17 00:00:00 2001 From: Matthew Tretter Date: Sat, 20 Oct 2012 23:44:26 -0400 Subject: [PATCH] No need to call spec; the registry does that --- imagekit/templatetags/imagekit_tags.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/imagekit/templatetags/imagekit_tags.py b/imagekit/templatetags/imagekit_tags.py index 959d479..b0b981b 100644 --- a/imagekit/templatetags/imagekit_tags.py +++ b/imagekit/templatetags/imagekit_tags.py @@ -35,8 +35,6 @@ class SpecResultNodeMixin(object): autodiscover() spec_id = self._spec_id.resolve(context) spec = specs.registry.get_spec(spec_id) # TODO: What "hints" here? - if callable(spec): - spec = spec() return spec def get_source_file(self, context):