From e6a118f709b29646ccb35e5c489535a105817aeb Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Mon, 17 May 2010 23:24:41 -0600 Subject: [PATCH] Fix path for tank submission --- www/tanks/submit.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))