125
def set(self, key, value, autosave = True):
126
126
"""Sets the value for the given key, saves the config file and notifies any
128
129
if not (isinstance(key, str) or isinstance(key, unicode)):
129
130
raise ConfigException("Trying to set a non-string key: {0} = {1}".format(key, value))