def get_config_item(self, config_item):

        try:
            with self._db_instance:
                value = self._db_instance.execute('''
                    SELECT value from Config where configItem = ?
                ''', (config_item, ))

            return value.fetchone()
        except sqlite3.Error as error:
            print "A database error has ocurred: ", error
            sys.exit(1)
Gets a config item (editor or line-length) from the Config table.
dataset/ETHPy150Open BastiPaeltz/codedict/source/database.py/Database.get_config_item