Skip to content

Commit

Permalink
fixed Bytesize typo in DCAT parser
Browse files Browse the repository at this point in the history
  • Loading branch information
huberrob committed Apr 26, 2024
1 parent 8b6facb commit 8ae0db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuji_server/helper/metadata_collector_rdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@ def get_dcat_metadata(self, graph):
dist, DCTERMS.rights
)
dtype = graph.value(dist, DCAT.mediaType)
dsize = graph.value(dist, DCAT.bytesSize)
dsize = graph.value(dist, DCAT.byteSize)
if durl or dtype or dsize:
if idutils.is_url(str(durl)):
dtype = "/".join(str(dtype).split("/")[-2:])
Expand Down

0 comments on commit 8ae0db4

Please sign in to comment.