python-firetv
python-firetv copied to clipboard
yaml.load(config_file) error
got this error on startup with yaml file
config = yaml.load(config_file)
File "/usr/lib64/python3.5/site-packages/yaml/__init__.py", line 109, in load
raise RuntimeError("Unsafe load() call disabled by Gentoo. See bug #659348")
RuntimeError: Unsafe load() call disabled by Gentoo. See bug #659348
this fix works for me: config = yaml.safe_load(config_file)