nootr / fikkie

🔥 The easiest tool for lightweight monitoring over SSH, compatible with all your favorite messengers!
https://nootr.github.io/fikkie
MIT License
1 stars 1 forks source link

Fix bug with empty config file #2

Closed nootr closed 2 years ago

nootr commented 2 years ago

Whenever yaml.safe_load() is used on an empty yaml-file, it returns None. However, this causes issues as the watchdog code assumes the returned value is a dict. This is fixed with a simple or.