diff options
author | Joel Challis <git@zvecr.com> | 2020-04-26 22:23:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-26 22:23:54 +0100 |
commit | 3cb6fb29359b8fea1087039a4d458c70109fddaf (patch) | |
tree | e35047da8f008a4338f1619b27fcf01c1c2b1984 /lib/python/kle2xy.py | |
parent | 6ec3cc029ea7f93ddd46b05a703d754231f8a158 (diff) | |
parent | 5c666398d55708915091a08299dc7d493b37db3c (diff) |
Merge pull request #8931 from kbrock/kle2info_2
[kle2json] fix rounding in output
Diffstat (limited to 'lib/python/kle2xy.py')
-rw-r--r-- | lib/python/kle2xy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/kle2xy.py b/lib/python/kle2xy.py index bff1d025b7..003476f92e 100644 --- a/lib/python/kle2xy.py +++ b/lib/python/kle2xy.py @@ -110,8 +110,8 @@ class KLE2xy(list): else: current_key['name'] = key - current_key['row'] = current_row - current_key['column'] = current_col + current_key['row'] = round(current_row, 2) + current_key['column'] = round(current_col, 2) # Determine the X center x_center = (current_key['width'] * self.key_width) / 2 |