Inline the hint messages.

This commit is contained in:
Jason S. Ninneman 2017-06-25 18:50:47 -07:00
parent e424588682
commit 7ee571d832
2 changed files with 43 additions and 44 deletions

View file

@ -339,8 +339,8 @@ def get_hints(hnt, arb):
number = item["number"]
penalty = item["penalty"]
turns = item["turns"]
question = make_c_string(md[item["question"]])
hint = make_c_string(md[item["hint"]])
question = make_c_string(item["question"])
hint = make_c_string(item["hint"])
hnt_str += template.format(number, penalty, turns, question, hint)
hnt_str = hnt_str[:-1] # trim trailing newline
return hnt_str