From 08fd3be459be697b54cd42f1d573690603391470 Mon Sep 17 00:00:00 2001 From: Sanj Date: Wed, 6 Jul 2011 19:10:57 +0530 Subject: [PATCH] um, round fown? --- edgware/editor/templatetags/alter_size.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edgware/editor/templatetags/alter_size.py b/edgware/editor/templatetags/alter_size.py index d975eca..04dd83a 100644 --- a/edgware/editor/templatetags/alter_size.py +++ b/edgware/editor/templatetags/alter_size.py @@ -11,7 +11,7 @@ def make_really_big(value, m): v = str(value).strip() if v[-2:] == 'px': no = int(value.replace("px", "")) * m - return str(int(round(no))) + "px" + return str(int(no)) + "px" else: return value