Commit a7b7d632 authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Merge pull request #595 from bmispelon/patch-1

Fixed a typo in WidthRatioNode.
parents 0b09b1a7 ac8eb82a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)