capitalize T

This commit is contained in:
Dan Brodjieski
2022-07-27 14:24:25 -04:00
parent fc2dd1dd37
commit f0412dead7
2 changed files with 3 additions and 3 deletions

View File

@@ -483,9 +483,9 @@ def main():
# prompt for name of benchmark to be used for filename
tailored_filename = sanitised_input(f'Enter a name for your tailored benchmark or press Enter for the default value ({args.keyword}): ', str, default_=args.keyword)
if tailored_filename == args.keyword:
_kw = f"{args.keyword.upper()} (tailored)"
_kw = f"{args.keyword.upper()} (Tailored)"
else:
_kw = f"{tailored_filename.upper()} (tailored from {args.keyword.upper()})"
_kw = f"{tailored_filename.upper()} (Tailored from {args.keyword.upper()})"
# prompt for inclusion, add ODV
odv_baseline_rules = odv_query(found_rules, benchmark)
baseline_output_file = open(f"{build_path}/{tailored_filename}.yaml", 'w')

View File

@@ -1646,7 +1646,7 @@ def main():
else:
adoc_tag_show=":show_tags!:"
if "tailored from" in baseline_yaml['title']:
if "Tailored from" in baseline_yaml['title']:
s=baseline_yaml['title'].split(':')[1]
adoc_html_subtitle = s.split('(')[0]
adoc_html_subtitle2 = s[s.find('(')+1:s.find(')')]