um, round fown?
This commit is contained in:
parent
d8790d949f
commit
08fd3be459
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user