diff --git a/www/tanks/submit.cgi b/www/tanks/submit.cgi index bef7034..3a2e6e4 100755 --- a/www/tanks/submit.cgi +++ b/www/tanks/submit.cgi @@ -29,7 +29,7 @@ if not teams.chkpasswd(team, passwd): elif not code: body = '
No program given.
' 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))