fixed a bug with single word strings and multiple choice blocks side by side
This commit is contained in:
@@ -48,6 +48,8 @@ def output(character, text):
|
||||
|
||||
# Get user from the backend
|
||||
def get_character(character):
|
||||
if character.lower() == "narrator":
|
||||
return {"name": "narrator"}
|
||||
api_url = f"http://localhost:20264/character/{character}"
|
||||
return requests.get(api_url).json()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user