opendata-stuttgart / airrohr-firmware-flasher

MIT License
91 stars 39 forks source link

Error when using undescore character in build name #19

Open DeeKey opened 4 years ago

DeeKey commented 4 years ago

Rename the build file name to include underscore sign. Flashing will not start. There will be an error:

Traceback (most recent call last): File "/home/informatic/Projects/luftdaten-tools/luftdatentool/utils.py", line 32, in run File "/home/informatic/Projects/luftdaten-tools/luftdaten-tool.py", line 259, in flash_board AttributeError: 'NoneType' object has no attribute 'startswith' ERROR:root:Unhandled exception Traceback (most recent call last): File "/home/informatic/Projects/luftdaten-tools/luftdatentool/utils.py", line 32, in run File "/home/informatic/Projects/luftdaten-tools/luftdaten-tool.py", line 259, in flash_board AttributeError: 'NoneType' object has no attribute 'startswith'

Informatic commented 4 years ago

latest_en.bin binary from default list is downloaded properly on Linux. What platform are you using?