Skip to content
Snippets Groups Projects
Commit 287edbcc authored by anonymous's avatar anonymous
Browse files

changed small simplification

parent 94f393e7
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment