fix thing

master
James Sigurðarson 2016-08-03 21:40:33 +00:00
parent 4bac415d35
commit c32c61b48f
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ def gen_team(args):
team=t)
t.save()
password = "password{}".format(user.id)
user.setPassword(password)
user.set_password(password)
user.save()
print("Team added with id {}".format(t.id))
print("User added with username {} and password {}".format(username, password))