mirror of https://gitlab.com/bashrc2/epicyon
Return list
parent
148374845f
commit
25e535ba24
|
|
@ -916,7 +916,7 @@ class JsonLdProcessor(object):
|
|||
except BaseException as cause:
|
||||
print('EX: Could not expand input before flattening. ' +
|
||||
str(cause))
|
||||
return {}
|
||||
return []
|
||||
|
||||
# do flattening
|
||||
flattened = self._flatten(expanded)
|
||||
|
|
@ -932,7 +932,7 @@ class JsonLdProcessor(object):
|
|||
except BaseException as cause:
|
||||
print('EX: ' +
|
||||
'Could not compact flattened output. ' + str(cause))
|
||||
return {}
|
||||
return []
|
||||
|
||||
return compacted
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue