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
Branches f-debian
No related tags found
2 merge requests!160STY: styling,!147MAINT: rename and docstring"
Pipeline #46877 passed
......@@ -936,7 +936,7 @@ class Crawler(object):
if isinstance(el, str):
try:
# 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))
except (db.EmptyUniqueQueryError, db.QueryNotUniqueError):
logger.error(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment