Fix path for tank submission

This commit is contained in:
Neale Pickett 2010-05-17 23:24:41 -06:00
parent f3dafa5271
commit e6a118f709
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ if not teams.chkpasswd(team, passwd):
elif not code:
body = '<p>No program given.</p>'
else:
path = os.path.join(basedir, 'ai/players', quote(team, safe=''))
path = os.path.join(basedir, 'players', quote(team, safe=''))
file = open(path, 'w')
file.write('Team: %s\n' % quote(team))
file.write('Color: #%s\n' % teams.color(team))