高洛峰2017-04-18 09:42:19
Call this method manually generate_password_hash
It should be that the password data type passed in is wrong
伊谢尔伦2017-04-18 09:42:19
Str and Byte are different types in Python 3.
password_byte = password.encode('utf') #然后传入这个变量