def set_config_item(self, config_item, value):

        try:
            with self._db_instance:

                self._db_instance.execute('''
                    INSERT or IGNORE INTO Config (configItem, value) VALUES (?, ?)
                ''', (config_item, value, ))

                self._db_instance.execute('''
                    UPDATE Config SET value = ? WHERE configItem = ?
                ''', (value, config_item, ))

        except sqlite3.Error as error:
            print "A database error has ocurred: ", error
            sys.exit(1)
Sets the editor row in the Config table of the DB.
dataset/ETHPy150Open BastiPaeltz/codedict/source/database.py/Database.set_config_item