fixed a bug with single word strings and multiple choice blocks side by side

This commit is contained in:
2026-05-18 23:05:19 +01:00
parent cba3ec04d7
commit 019f1088a3
10 changed files with 37 additions and 17 deletions
+2
View File
@@ -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()