summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Car <nicholas.car@surroundaustralia.com>2022-01-15 12:16:28 +1000
committerGitHub <noreply@github.com>2022-01-15 12:16:28 +1000
commit0c92b22b10c48a291c4a69e2e959b1494d3ae193 (patch)
treec9dfc039c456db49d7a6ba8272df3f675cf7b3ea
parente761074a7bea3e3243ab14f75a4e0872f53f0253 (diff)
downloadrdflib-0c92b22b10c48a291c4a69e2e959b1494d3ae193.tar.gz
Update rdflib/plugins/parsers/hext.py
Co-authored-by: Iwan Aucamp <aucampia@gmail.com>
-rw-r--r--rdflib/plugins/parsers/hext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rdflib/plugins/parsers/hext.py b/rdflib/plugins/parsers/hext.py
index 670baea4..fab70c78 100644
--- a/rdflib/plugins/parsers/hext.py
+++ b/rdflib/plugins/parsers/hext.py
@@ -28,7 +28,7 @@ class HextuplesParser(Parser):
# allowed to be "" but not None
# all other "" values are treated as None
ret1 = json.loads(line)
- ret2 = [x if x != "" else None for x in json.loads(line)]
+ ret2 = [x if x != "" else None for x in ret1]
if ret1[2] == "":
ret2[2] = ""
return ret2