Kaydet (Commit) a7b7d632 authored tarafından Aymeric Augustin's avatar Aymeric Augustin

Merge pull request #595 from bmispelon/patch-1

Fixed a typo in WidthRatioNode.
......@@ -453,7 +453,7 @@ class WidthRatioNode(Node):
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment