From 287edbcc02fc673fbec433cf9a9957884b8578cf Mon Sep 17 00:00:00 2001 From: anonymous <anonymous> Date: Fri, 26 Apr 2019 13:45:16 +0200 Subject: [PATCH] changed small simplification --- ckanext/odsh/profiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/odsh/profiles.py b/ckanext/odsh/profiles.py index 28512fd5..2431877e 100644 --- a/ckanext/odsh/profiles.py +++ b/ckanext/odsh/profiles.py @@ -59,7 +59,7 @@ class ODSHEuropeanDCATAPProfile(EuropeanDCATAPProfile): self.g.set((s, DCT['format'], rdflib.URIRef(resource_formats_export()[o2.decode()]))) for s,p,o in self.g.triples((None, DCT.language, None)): if o.decode() in get_language(): - self.g.set((s, DCT.language, rdflib.URIRef(get_language()[o.decode()]))) + self.g.set((s, p, rdflib.URIRef(get_language()[o.decode()]))) class ODSHDCATdeProfile(DCATdeProfile): def parse_dataset(self, dataset_dict, dataset_ref): -- GitLab