webgo/init_webgo.py

22 lines
347 B
Python
Raw Normal View History

import database
2005-09-06 19:52:46 +02:00
def clear():
try:
database.Users.dropTable(ifExists=True)
2005-09-06 19:52:46 +02:00
except:
pass
def create():
database.Users.createTable(ifExists = False)
#psql.create_goban_table("gast","gast2",9)
#psql.add_webgo_user("gast","gast")
#psql.add_webgo_user("gast2","gast2")
2005-09-06 19:52:46 +02:00
def main():
clear()
create()
if __name__ == "__main__":
main()