OAI Redo Fixes 2
This commit is contained in:
parent
b5a633e69b
commit
699b3fc10b
|
@ -4418,8 +4418,8 @@ def oairequest(txt, min, max):
|
||||||
print(len(vars.actions))
|
print(len(vars.actions))
|
||||||
print(vars.actions_metadata)
|
print(vars.actions_metadata)
|
||||||
raise
|
raise
|
||||||
if data in alternatives:
|
if genout in alternatives:
|
||||||
alternatives = [item for item in vars.actions_metadata[vars.actions.get_last_key() ]["Alternative Text"] if item['Text'] != data]
|
alternatives = [item for item in vars.actions_metadata[vars.actions.get_last_key() ]["Alternative Text"] if item['Text'] != genout]
|
||||||
vars.actions_metadata[vars.actions.get_last_key()]["Alternative Text"] = alternatives
|
vars.actions_metadata[vars.actions.get_last_key()]["Alternative Text"] = alternatives
|
||||||
vars.actions_metadata[vars.actions.get_last_key()]["Selected Text"] = genout
|
vars.actions_metadata[vars.actions.get_last_key()]["Selected Text"] = genout
|
||||||
update_story_chunk('last')
|
update_story_chunk('last')
|
||||||
|
|
Loading…
Reference in New Issue