user.update

pull/26/head
liuzheng712 2015-11-17 11:13:52 +08:00
parent a99f024dfc
commit 1c3b66c1a8
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ def db_update_user(**kwargs):
user.update(**kwargs)
if pwd != '':
user_get.set_password(pwd)
# user.save()
user_get.save()
else:
return None