Ejemplo n.º 1
0
  def __init__(self):
    config = CONFIG.dbinfo().copy()
#    self.db = mysql.connector.Connect(**config)
    self.db = PySQLPool.getNewConnection(host = config['host'], user = config['user'], password = config['password'], schema = 'vospace')