Use yaml.safe_load for Bottles import

This commit is contained in:
kramo
2023-05-27 09:02:53 +02:00
parent bda487f26e
commit ac3f3133d9

View File

@@ -57,7 +57,7 @@ def bottles_importer():
data = (bottles_dir / "library.yml").read_text("utf-8")
library = yaml.load(data, Loader=yaml.Loader)
library = yaml.safe_load(data)
importer = shared.importer
importer.total_queue += len(library)