lets try rounding in addPx again

This commit is contained in:
Sanj 2011-07-06 18:34:43 +05:30
parent b8421aa891
commit 236ea57a3b

View File

@ -20,7 +20,7 @@ def addPx(val):
'''
Adds 'px' to an integer value for a CSS property from DB
'''
r = str(int(val)) + "px"
r = str(int(round(val))) + "px"
return r
def cleanCSS(prop):