chestm007 / linux_thermaltake_riing

Python driver and daemon to control thermaltake Riing fans and pumps
GNU General Public License v2.0
61 stars 25 forks source link

fix deprecation warning by specifying yaml loader #38

Open nicoulaj opened 4 years ago

nicoulaj commented 4 years ago

Fixes this warning on conf loading:

linux-thermaltake-rgb[374647]: /usr/lib/python3.8/site-packages/linux_thermaltake_rgb/daemon/config.py:42: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.

See https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation