Kvaser / pycanlib

The pycanlib package is a Python wrapper for Kvaser CANlib SDK.
https://pycanlib.readthedocs.io
MIT License
16 stars 4 forks source link

Bugfix: FileNotFoundError on Windows 11 #5

Open AdoWork opened 1 year ago

AdoWork commented 1 year ago

It seems that Kvaser has changed the structure of the registry keys, at least on my machine (Windows 11, Kvaser CANLIB 5.41). By catching the FileNotFoundError exception, we can retry with the new registry path.