diff --git a/flow/util/genReport.py b/flow/util/genReport.py index 5134f4895b..4856deff09 100755 --- a/flow/util/genReport.py +++ b/flow/util/genReport.py @@ -295,7 +295,7 @@ def write_summary(): with open(drc_report_file, "r") as file_: for line_ in file_.readlines(): if "violation type:" in line_: - type_ = line_.strip("violation type:").strip() + type_ = line_.split("violation type:", 1)[1].strip() if type_ in d["drcs"].keys(): d["drcs"][type_] += 1 else: