random team names

master
James Sigurðarson 2016-07-12 21:30:17 +00:00
parent 1fbd191e63
commit 6cf223ae32
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ def gen_team(args):
ctz = datetime.now()
diff = timedelta(minutes=5)
for i in range(n):
name = "Team {}".format(i + 1)
name = "Team {} {}".format(i + 1, utils.misc.generate_random_string(length=5))
team_key = utils.misc.generate_team_key()
t = Team.create(name=name, affiliation="Autogenerated", key=team_key)
username = "username{}".format(i+1)