Permalink
Browse files

Version bump

  • Loading branch information...
1 parent c6409a1 commit 0036e8df437e77e78b375264e76e4332f772a7ec Zenobius Jiricek committed Feb 19, 2012
@@ -1,3 +1,3 @@
-__version__ = '0.0.12'
+__version__ = '0.0.13'
__author__ = 'Zenobius Jiricek'
__lisence__ = 'BSD'
@@ -34,10 +34,7 @@ class ProductTypeIcon(Tag):
def render_tag(self, context, product_type, tag):
try:
icon= product_type.icons.get(name = tag)
- return "{base}/{image}".format(
- base = ApplicationSettings.CATEGORY_IMAGE_URL,
- image = str(icon.image)
- )
+ return icon.image.url
except Exception, error:
return ApplicationSettings.DEFAULT_CATEGORY_IMAGE_URL.format(tag.lower())

0 comments on commit 0036e8d

Please sign in to comment.