Compare commits
No commits in common. "b450fd10fe7fb9a4ff9e7c059ec750cb0947c634" and "feeaef6aa4f78d1a955d50e21393cbec2f90847b" have entirely different histories.
b450fd10fe
...
feeaef6aa4
@ -6,13 +6,12 @@
|
|||||||
### Links
|
### Links
|
||||||
- [Source repository](https://mpxd.net/code/jan/g85)
|
- [Source repository](https://mpxd.net/code/jan/g85)
|
||||||
- [PyPI](https://pypi.org/project/g85)
|
- [PyPI](https://pypi.org/project/g85)
|
||||||
- [Github mirror](https://github.com/anewusername/g85)
|
|
||||||
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Requirements:
|
Requirements:
|
||||||
* python >= 3.10 (written and tested with 3.11)
|
* python >= 3.7 (written and tested with 3.9)
|
||||||
* numpy
|
* numpy
|
||||||
|
|
||||||
|
|
||||||
|
@ -96,7 +96,6 @@ def read_devices(el_map: ElementTree.Element) -> list[Device]:
|
|||||||
f'with attributes {el_entry.attrib}')
|
f'with attributes {el_entry.attrib}')
|
||||||
continue
|
continue
|
||||||
|
|
||||||
bin_code: int | str
|
|
||||||
if bin_type == 'Decimal':
|
if bin_type == 'Decimal':
|
||||||
bin_code = int(attrib['BinCode'])
|
bin_code = int(attrib['BinCode'])
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user