Skip to content
Snippets Groups Projects
Commit c3a10a84 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

FIX: datatype in replace_name_with...

parent dc148054
No related branches found
No related tags found
2 merge requests!160STY: styling,!147MAINT: rename and docstring"
Pipeline #46877 passed
...@@ -936,7 +936,7 @@ class Crawler(object): ...@@ -936,7 +936,7 @@ class Crawler(object):
if isinstance(el, str): if isinstance(el, str):
try: try:
# the get_entity function will raise an error if not unique # the get_entity function will raise an error if not unique
propval.append(Crawler._get_property_id_for_datatype(rtname=prop.datatype, propval.append(Crawler._get_property_id_for_datatype(rtname=dt,
name=el)) name=el))
except (db.EmptyUniqueQueryError, db.QueryNotUniqueError): except (db.EmptyUniqueQueryError, db.QueryNotUniqueError):
logger.error( logger.error(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment