revert addPx
This commit is contained in:
parent
bfc6b9c637
commit
cdb7ff227b
|
@ -20,7 +20,7 @@ def addPx(val):
|
|||
'''
|
||||
Adds 'px' to an integer value for a CSS property from DB
|
||||
'''
|
||||
r = str(int(round(val))) + "px"
|
||||
r = str(int(val)) + "px"
|
||||
return r
|
||||
|
||||
def cleanCSS(prop):
|
||||
|
|
Loading…
Reference in New Issue
Block a user