Return list

main
bashrc 2026-08-01 14:48:51 +01:00
parent 148374845f
commit 25e535ba24
1 changed files with 2 additions and 2 deletions

View File

@ -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