webgo/deletegame.py

15 lines
312 B
Python
Raw Normal View History

import psql
def delete_game(gamename,username):
"""
get name of game and name of user.
remove game from game slot of user.
"""
def main(gamename,req,form):
"""
get the name of a game,request,util.FieldStorage.
manage the removal of game from game slots of players and
delete game from database.
"""