

def __init__(self, conn, dictname):
    super(PersistentDictStore, self).__init__(conn)
    conn.text_factory = str
    self.tablename = (dictname + '_dict')
    if (not self.table_exists(self.tablename)):
        self.execute('CREATE TABLE {0} (key NOT NULL PRIMARY KEY UNIQUE, value BLOB)'.format(self.tablename))

dataset/ETHPy150Open chromaway/ngcccbase/coloredcoinlib/store.py PersistentDictStore.__init__/original