This commit is contained in:
ebolam 2022-02-28 19:04:12 -05:00
parent 6003b2369b
commit 3f73f84b69
1 changed files with 1 additions and 1 deletions

View File

@ -2676,7 +2676,7 @@ def actionsubmit(data, actionmode=0, force_submit=False, force_prompt_gen=False,
# we'll have two conditions.
# 1. This is totally new (user entered)
if vars.actions.get_next_id()-1 not in vars.actions_metadata:
vars.actions_metadata.append({"Selected Text": data, "Alternative Text": []})
vars.actions_metadata[vars.actions.get_next_id()-1] = {"Selected Text": data, "Alternative Text": []}
else:
# 2. We've selected a chunk of text that is was presented previously
try: