Compare commits
2 Commits
feeaef6aa4
...
b450fd10fe
Author | SHA1 | Date | |
---|---|---|---|
b450fd10fe | |||
dfbb907274 |
@ -6,12 +6,13 @@
|
|||||||
### 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.7 (written and tested with 3.9)
|
* python >= 3.10 (written and tested with 3.11)
|
||||||
* numpy
|
* numpy
|
||||||
|
|
||||||
|
|
||||||
|
@ -96,6 +96,7 @@ 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