Skip to content

Commit

Permalink
Merge pull request #107 from plone/maurits-warnings
Browse files Browse the repository at this point in the history
Fix warning for unclosed file at startup.
  • Loading branch information
mauritsvanrees authored Jan 21, 2025
2 parents 84d2e11 + 36f6a55 commit 2608b31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/4090.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix warning for unclosed file at startup.
2 changes: 1 addition & 1 deletion src/plone/distribution/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import json


DEFAULT_SCHEMA = json.load(open(DEFAULT_PATH / "schema.json"))
DEFAULT_SCHEMA = json.loads((DEFAULT_PATH / "schema.json").read_bytes())
DEFAULT_IMAGE = DEFAULT_PATH / "image.png"


Expand Down

0 comments on commit 2608b31

Please sign in to comment.