fixed another bug

This commit is contained in:
Sakimori 2021-04-01 01:33:20 -04:00
parent aadea84517
commit 8aaffe67bd

View file

@ -560,10 +560,13 @@ class game(object):
if self.voice.post_format != []:
format_list = []
for extra_format in self.voice.post_format:
try:
if extra_format == "base":
format_list.append(base_string(result["base"]))
elif extra_format == "runner":
format_list.append(result["runner"])
except KeyError:
format_list.append("None")
self.voice.post_format = []
result["displaytext"] = result["displaytext"].format(*format_list)
return (result, 0)