Skip to content

Commit

Permalink
Fix SUB option handling
Browse files Browse the repository at this point in the history
  • Loading branch information
ahcheongL committed Mar 13, 2024
1 parent 70b1c02 commit 11d1b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/rank_combination.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def restoreStub(combination, dict_data):

if "SUB" in synopsis and "SUB" in dict_data["options"]:
sub_command = random.choice(dict_data["options"]["SUB"])
stub = synopsis.replace("SUB", sub_command)
synopsis = synopsis.replace("SUB", sub_command)

stub = synopsis.replace("OPTIONS", new_combination)
return stub
Expand Down

0 comments on commit 11d1b3f

Please sign in to comment.