lets try rounding in addPx again
This commit is contained in:
parent
b8421aa891
commit
236ea57a3b
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user