tuyagateway
tuyagateway copied to clipboard
configure.py CONFIG.read() does not throw exception
Looking at: https://github.com/python/cpython/blob/3.9/Lib/configparser.py read does not throw exception. In case none of the .conf files exists, exception will not be thrown in addition program will crash
you need to manually check is non of the files exists, and then revert to DEFAULTS
Okay, happy to merge your PR