After a quick read it seems like you're trying to read the data as if it's a dictionary, when you should use: config.get(section, data)
EG:
...
config = ConfigParser()
config.read(filename)
...
configOptions.port = config.getint('Server', 'port')
configOptions.host = config.get('Server', 'host')
configOptions.quoteFile = config.get('Quotes', 'file')
To write to the config-file you could do something like:
...
def setValue(parser, sect, index, value):
cfgfile = open(filename, 'w')
parser.set(sect, index, value)
parser.write(cfgfile)
cfgfile.close()