aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.py b/app.py
index 7d58f9f..dae6144 100644
--- a/app.py
+++ b/app.py
@@ -59,7 +59,7 @@ def search():
current_task[-1]["icon"] = "check"
tasks = ["Have you tried turning your car on and off?"]
try:
- tasks += pred.split('\n\n')[0].replace("- ","").splitlines()
+ tasks = pred.split('\n\n')[0].replace("- ","").splitlines()
except:
print("Uh oh! Claude didn't return any results!")
return render_template("tasks.html", to_do=tasks)