Ernst79 / bleparser

Parser for passive BLE advertisements
MIT License
29 stars 16 forks source link

preserve compatiblity with python 3.8 #38

Closed cboxed closed 2 years ago

cboxed commented 2 years ago

The union operator ("|") for dictionaries was used in some places. For dictionaries it is only supported for python version >= 3.9 (https://peps.python.org/pep-0584/). In setup.cfg python >= 3.8 was defined (python_requires = >=3.8). To preserve compatibility with 3.8 I changed the union operators for dicts.

Ernst79 commented 2 years ago

Thanks!