rorr73 / LifeSOSpy_MQTT

MQTT Client to communicate with LifeSOS alarm systems.
MIT License
5 stars 2 forks source link

Add loader to yaml.load #11

Closed bratanon closed 5 years ago

bratanon commented 5 years ago

When starting the lifesospy_mqtt you get this warning.

/usr/lib/python3.7/site-packages/lifesospy_mqtt/config.py:208: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. settings = yaml.load(config_file) or {}