Skip to content

Commit

Permalink
fix: factor 10 in kw6pos from header file
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixAbrahamsson committed Jun 15, 2021
1 parent 7b5053d commit 1a7b6c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kw6/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def byte_position(position_data):
for position_info in position_data.firstChild.data.strip().split('\n')
}
return {
position['kw6Pos']: position['kw6Byte']
position['kw6Pos'] // 10: position['kw6Byte']
for position in map(
byte_position,
minidom.parse(str(path)).getElementsByTagName('kw6Index'),
Expand Down

0 comments on commit 1a7b6c1

Please sign in to comment.