diff options
author | Nicholas Car <nicholas.car@surroundaustralia.com> | 2021-12-17 10:27:23 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-17 10:27:23 +1000 |
commit | cde35b3c2502163c8b73776128fb4e8aaa699f66 (patch) | |
tree | f41c9bf83a891357e5d4ea1ced23a61a639e613d /rdflib/tools | |
parent | 28288b07074125d87be849d23a53c19605d78b5b (diff) | |
download | rdflib-cde35b3c2502163c8b73776128fb4e8aaa699f66.tar.gz |
Update rdflib/tools/rdfs2dot.py
Co-authored-by: Iwan Aucamp <aucampia@gmail.com>
Diffstat (limited to 'rdflib/tools')
-rw-r--r-- | rdflib/tools/rdfs2dot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rdflib/tools/rdfs2dot.py b/rdflib/tools/rdfs2dot.py index a9eeb244..97a4b975 100644 --- a/rdflib/tools/rdfs2dot.py +++ b/rdflib/tools/rdfs2dot.py @@ -86,7 +86,7 @@ def rdfs2dot(g, stream, opts={}): return nodes[nd] def label(xx, grf): - lbl = g.value(xx, RDFS.label) + lbl = grf.value(xx, RDFS.label) if lbl is None: try: lbl = grf.namespace_manager.compute_qname(xx)[2] |