Skip to content

Commit a225406

Browse files
authored
parent searching failing due to zero value
1 parent ccfb9e4 commit a225406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/response/tf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def main():
9696

9797
rows = []
9898
for parent_proc in processes:
99-
process_facets = cb.select(Process).where("parent_name:{}".format(parent_proc)).facets("process_name")
99+
process_facets = cb.select(Process).where("parent_name:{0}".format(parent_proc)).facets("process_name")
100100
for term in reversed(process_facets["process_name"]):
101101
termratio = int(float(term['ratio']))
102102
if int(args.percentless) >= termratio:

0 commit comments

Comments
 (0)