Skip to content

Commit

Permalink
corrected mapping path
Browse files Browse the repository at this point in the history
  • Loading branch information
msrocka committed Nov 20, 2023
1 parent 39039d8 commit 8b6fb7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fedelemflowlist/jsonld.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,6 @@ def _write_mappings(self, zw: zipio.ZipWriter):
# an ugly hack to write the flow maps directly to the zip-file
# as there are currenty only methods for writing RootEntity
# objects in the ZipWriter
zw._ZipWriter__zip.writestr("flow_mappings", json.dumps(flow_map))
zw._ZipWriter__zip.writestr(
"flow_mappings/" + flow_map["@id"] + ".json",
json.dumps(flow_map))

0 comments on commit 8b6fb7a

Please sign in to comment.