Closed nootr closed 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.
yaml.safe_load()
or
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 simpleor
.