add type hint

This commit is contained in:
Jan Petykiewicz 2024-03-30 18:16:51 -07:00
parent feeaef6aa4
commit dfbb907274

View File

@ -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: