summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgpt_adventure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpt_adventure.py b/gpt_adventure.py
index 9f93d5f..65ff09c 100755
--- a/gpt_adventure.py
+++ b/gpt_adventure.py
@@ -152,7 +152,7 @@ def pick_flavor() -> State:
if choice_int == len(flavors):
name = input("Enter your character's name: ")
bio = input("Enter your character's persona: ")
- return State(Persona(name, bio), [])
+ return State(Persona(name, bio), "")
try:
return flavors[choice_int]
except IndexError: