Fixing int issue is maps
This commit is contained in:
parent
bd15622d9f
commit
fd7b6ab619
|
@ -489,7 +489,7 @@ class XDotAttrParser:
|
|||
return res
|
||||
|
||||
def read_number(self):
|
||||
return int(self.read_code())
|
||||
return int(round(float(self.read_code())))
|
||||
|
||||
def read_float(self):
|
||||
return float(self.read_code())
|
||||
|
|
Loading…
Reference in New Issue