Skip to content

Commit

Permalink
Number import
Browse files Browse the repository at this point in the history
  • Loading branch information
b committed Oct 26, 2024
1 parent 11ff37d commit 5a930d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/nbfx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,13 @@ def nbfx_import_values(nbfx: Nbfx, values) -> Nbfx:
else:
nbfx.records[val[0]].rec_type = 0x98 + end_element
charstr=Nbfx.Chars8Text()
print(type(charstr))
charstr.string = val[1]
charstr.length = len(val[1])
nbfx.records[val[0]].rec_body = charstr

for val in values["Number"]:
nbfx.records[val[0]].rec_body.value=val[1]

return nbfx


Expand Down

0 comments on commit 5a930d6

Please sign in to comment.