We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 440b0c7 commit 3c926e3Copy full SHA for 3c926e3
sdv/validators/stix/common.py
@@ -535,7 +535,7 @@ def ts_equal(source_ts, node):
535
536
root = utils.get_etree_root(root)
537
timestamp = utils.parse_timestamp(timestamp)
538
- xpath = "//*[@id='{}']".format(idref)
+ xpath = "//*[@id='{0}']".format(idref)
539
nodes = root.xpath(xpath, namespaces=namespaces)
540
541
return any(ts_equal(timestamp, node) for node in nodes)
0 commit comments