Skip to content

Commit

Permalink
explicitly specify codec
Browse files Browse the repository at this point in the history
  • Loading branch information
simleo committed Mar 15, 2024
1 parent bf55c2e commit 3256247
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rocrate/vocabs.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
))
else:
RO_CRATE = json.loads(
importlib.resources.files(__package__).joinpath("data/ro-crate.jsonld").read_text()
importlib.resources.files(__package__).joinpath("data/ro-crate.jsonld").read_text("utf8")
)
SCHEMA = json.loads(
importlib.resources.files(__package__).joinpath("data/schema.jsonld").read_text()
importlib.resources.files(__package__).joinpath("data/schema.jsonld").read_text("utf8")
)
SCHEMA_MAP = dict((e["@id"], e) for e in SCHEMA["@graph"])

Expand Down

0 comments on commit 3256247

Please sign in to comment.