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

MAINT: reintroduce workaround for empty string

parent 524b47c9
No related branches found
No related tags found
No related merge requests found
......@@ -255,10 +255,7 @@ class Crawler(object):
query_string += " WITH "
for p in entity.get_properties():
if p.value == "":
query_string += (" NOT '" + p.name + "' AND ")
else:
query_string += ("'" + p.name + "'='" + str(get_value(p))
query_string += ("'" + p.name + "'='" + str(get_value(p))
+ "' AND ")
# remove the last AND
query_string = query_string[:-4]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment