ThomDietrich / miflora-mqtt-daemon

Linux service to collect and transfer Xiaomi Mi Flora plant sensor data via MQTT to your smart home system, with cluster support 🌱🌼πŸ₯€πŸ‘🌳
MIT License
610 stars 140 forks source link

added handling of missing config file #86

Closed arossmann closed 4 years ago

arossmann commented 5 years ago

added handling (raising exception) if config.ini is missing.

ThomDietrich commented 5 years ago

Hey, thanks for the PR! Why did you go with try..except instead of the length check I proposed? Also, didn't you miss to include config.ini.dist?

ThomDietrich commented 4 years ago

fixes #84

ThomDietrich commented 4 years ago

Looks okay to me πŸ‘Œ