22 lines
No EOL
347 B
Python
Executable file
22 lines
No EOL
347 B
Python
Executable file
import database
|
|
|
|
def clear():
|
|
try:
|
|
database.Users.dropTable(ifExists=True)
|
|
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")
|
|
|
|
|
|
def main():
|
|
clear()
|
|
create()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main() |