diff --git a/scan_to_paperless/scan.py b/scan_to_paperless/scan.py index 3ae87e1e..a89f5edc 100755 --- a/scan_to_paperless/scan.py +++ b/scan_to_paperless/scan.py @@ -240,7 +240,7 @@ def image_match(image_name: str) -> int: "images": images, "args": args_, } - yaml = YAML(typ="safe") + yaml = YAML() yaml.default_flow_style = False with open( os.path.join(os.path.dirname(root_folder), "config.yaml"), "w", encoding="utf-8"