Skip to content
Snippets Groups Projects
Commit 5e35b58a authored by florian's avatar florian
Browse files

FIX: Add more quotes

parent 671121fd
No related branches found
No related tags found
1 merge request!73MAINT: change wording of TableImporter argument and allow converters and...
Pipeline #37247 passed
......@@ -276,7 +276,7 @@ class Parser(object):
self.model[name] = db.Property(name=name).retrieve()
continue
for role in ("Property", "RecordType", "Record", "File"):
if db.execute_query("COUNT {} {}".format(role, name)) > 0:
if db.execute_query("COUNT {} \"{}\"".format(role, name)) > 0:
self.model[name] = db.execute_query(
f"FIND {role} WITH name=\"{name}\"", unique=True)
break
......
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