Skip to content

Commit

Permalink
Merge pull request #40 from dennis6p/fix/open-schema-validation-file-…
Browse files Browse the repository at this point in the history
…read-only

Open schema validation file in read-only mode
  • Loading branch information
dennis6p authored Dec 18, 2024
2 parents 9b0611e + 53de891 commit 1df0762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adaptive_cards/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ def __read_schema_file(self) -> dict[str, Any]:
Path(__file__)
.parent.joinpath("schemas")
.joinpath(f"schema-{self.__schema_version}.json"),
"+r",
"r",
encoding="utf-8",
) as f: # pylint: disable=C0103
return json.load(f)
Expand Down

0 comments on commit 1df0762

Please sign in to comment.