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