]> git.parisson.com Git - teleforma.git/commitdiff
fix no price
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 17 Jun 2013 15:13:47 +0000 (17:13 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 17 Jun 2013 15:13:47 +0000 (17:13 +0200)
teleforma/templatetags/teleforma_tags.py

index cff37199bbf8ff003686054760e455fb9094ffa6..c5f70ae4f8037462edb09a742192d0b49febfcce 100644 (file)
@@ -317,4 +317,4 @@ def integer(value):
     if isinstance(value, str):
         return int(value)
     else:
-        return ''
+        return 0