Ok, I'll fix my return statement, but the problem I have now is when I print the user for testing purposes:
(For that test I typed in "Bob" as the user and got all that, instead of the string "Bob")
def create(self): self.user = self.add(npyscreen.TitleText, name='Name:') self.password = self.add(npyscreen.TitleText, name='Password:') user = self.user password = self.password print(user)I get this:
Error:<npyscreen.wgtitlefield.TitleText object at 0x000001EB05A9AF70>
Why did I get this and how can I fix it? (For that test I typed in "Bob" as the user and got all that, instead of the string "Bob")