mirror of https://gitlab.com/bashrc2/epicyon
Remove check
parent
b0eaa6835d
commit
adebd3c3bd
|
@ -1016,13 +1016,6 @@ class JsonLdProcessor(object):
|
||||||
'Could not convert input to RDF dataset before normalization.',
|
'Could not convert input to RDF dataset before normalization.',
|
||||||
'jsonld.NormalizeError', cause=cause)
|
'jsonld.NormalizeError', cause=cause)
|
||||||
|
|
||||||
# check that the data is not empty
|
|
||||||
if '@default' in dataset:
|
|
||||||
if not dataset['@default']:
|
|
||||||
raise JsonLdError(
|
|
||||||
'Could not convert input to RDF dataset.',
|
|
||||||
'jsonld.NormalizeError', cause=None)
|
|
||||||
|
|
||||||
# do normalization
|
# do normalization
|
||||||
return self._normalize(dataset, options)
|
return self._normalize(dataset, options)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue