def __init__(self): logger.info(u'线程启动') self.conn = SQLite.conn() self.db = self.conn.cursor()
def __init__(self): self.conn = SQLite.conn() self.db = self.conn.cursor()
def __init__(self): self.render = web.template.render('templates', base='layout') self.conn = SQLite.conn() self.db = self.conn.cursor()