Skip to content

Commit

Permalink
Merge pull request #772 from sbrunner/no-safe
Browse files Browse the repository at this point in the history
We can't save a file, where is opend in round-trip mode, in safe mode
  • Loading branch information
sbrunner authored Aug 15, 2022
2 parents 094f93a + 40d12bf commit 64fc7bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scan_to_paperless/scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 64fc7bb

Please # to comment.