aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/utility')
-rw-r--r--wqflask/utility/formatting.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/utility/formatting.py b/wqflask/utility/formatting.py
index e53dda22..1c0269e9 100644
--- a/wqflask/utility/formatting.py
+++ b/wqflask/utility/formatting.py
@@ -28,7 +28,8 @@ def numify(number, singular=None, plural=None):
'12,334 hippopotami'
"""
- num_repr = {1 : "one",
+ num_repr = {0 : "zero",
+ 1 : "one",
2 : "two",
3 : "three",
4 : "four",