options = starter_encouragements
if "encouragements" in db.keys():
options = options + db["encouragements"]
Error on the last line.
Can only concatenate list (not "ObservedList") to list.
options = starter_encouragements
if "encouragements" in db.keys():
options = options + db["encouragements"]
Error on the last line.
Can only concatenate list (not "ObservedList") to list.
if +
doesn’t work try a different method to join lists
Did you follow @ILM 's advice?
Did you try other methods to join lists?
Also, did you try researching the error message you are getting?
When I googled it I can across a similar question.
You can try one of the other methods suggested in that post like this one
options.extend(db["encouragements"])
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.