3 # Rec10 TS Recording Tools
4 # Copyright (C) 2009 Yukikaze
10 path=str(os.path.dirname(os.path.abspath(__file__)))+"/"
12 db=configreader.getpath("db")
14 dbn=configreader.getpath("mysql_dbname")
15 dbh=configreader.getpath("mysql_host")
16 dbu=configreader.getpath("mysql_user")
17 dbpwd=configreader.getpath("mysql_passwd")
18 dbport=int(configreader.getpath("mysql_port"))
19 rec10db=dbMySQL.DB_MySQL(dbname=dbn,host=dbh,user=dbu,passwd=dbpwd,port=dbport)
21 rec10db=dbSQLite.DB_SQLite(path+"ch.db")
22 if __name__ == "__main__":