Esempio n. 1
0
 def login(self):
     email = ask("Input login email: ")
     password = ask("Input password: "******"Not find you in the system.")
         ins = ask("Sign up? (y/n): ")
         if ins == 'y':
             self.create_user()
         else:
             exit()
     else:
         self.current_user = user
         info("Welcome you, %s" % user.nickname)