Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 17 lines (13 sloc) 0.401 kB
#!/usr/bin/python
from webserver_utils import verify_id, print_redirect
import cgi
import cgitb
cgitb.enable()
q = cgi.FieldStorage()
playerName = q.getfirst("playerName", "")
avatarURL = q.getfirst("avatarURL", "")
player = verify_id()
if (playerName != "" and avatarURL != "" and player != None):
player.name = playerName
player.avatarURL = avatarURL
print_redirect("listlevels.py")
Jump to Line
Something went wrong with that request. Please try again.