Page 1 of 1

Renpy.Input function default showing [u'string'] instead of just the string text. (solved)

Posted: Mon Jun 07, 2021 11:41 pm
by henvu50
EDIT: i solved it, remove the brackets, default=name1_default

Code: Select all

default name1_default = "bob"

$ name1 = renpy.input("choose name", length=12, default=[name1_default])
$ name1 = name1.strip()
$ name1 = name1.title()
renpy.input is populated with [u'bob'] instead of just bob

EDIT: i solved it, remove the brackets, default=name1_default