

def __init__(self, db):
    db.db = db
    self.db.execute(['CREATE TABLE IF NOT EXISTS preferences (', '   key VARCHAR PRIMARY KEY, value VARCHAR', ');'])
    for (key, value) in Preferences.defaults:
        if (self.get(key) is None):
            self.set(key, value)

dataset/ETHPy150Open posativ/isso/isso/db/preferences.py Preferences.__init__/VarMisuse@12/14 `self`->`db`