Fix glitch in command string handling

Due to inconsistent structure of spoiler logs, r- spells with "Equal
chance of any of the following" could end a line with a ':;". This just
find-and-replaces ':;' with ':' because that should never happen in
reality.
This commit is contained in:
Trysdyn Black 2021-03-28 19:12:58 -07:00
parent 48f38d9672
commit b7b8a08f77

View file

@ -85,6 +85,7 @@ def parse_COMMANDS(data):
# Clean up a couple of clumsy string cases from the join above
command_string = command_string.replace('.; ', ': ')
command_string = command_string.replace(' ', ' ')
command_string = command_string.replace(':;', ':')
# Commit the command to the dict
commands[next_command_name] = command_string