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