tuyagateway icon indicating copy to clipboard operation
tuyagateway copied to clipboard

configure.py CONFIG.read() does not throw exception

Open idanre1 opened this issue 5 years ago • 1 comments

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

idanre1 avatar Nov 12 '20 10:11 idanre1

Okay, happy to merge your PR

TradeFace avatar Jan 13 '21 20:01 TradeFace