Permalink
Browse files

Fixed typo in WidthRatioNode's error.

  • Loading branch information...
1 parent bbabfdc commit ac8eb82abb23f7ae50ab85100619f13257b03526 @bmispelon bmispelon committed Dec 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/template/defaulttags.py
@@ -453,7 +453,7 @@ def render(self, context):
except VariableDoesNotExist:
return ''
except (ValueError, TypeError):
- raise TemplateSyntaxError("widthratio final argument must be an number")
+ raise TemplateSyntaxError("widthratio final argument must be a number")
try:
value = float(value)
max_value = float(max_value)

0 comments on commit ac8eb82

Please sign in to comment.