remove the paranthesis from the decorators in core.py

This commit is contained in:
Damien Churchill 2009-08-03 11:46:49 +00:00
parent 92a37b7d81
commit 4cfa6485d7

View File

@ -119,14 +119,14 @@ class Core(CorePluginBase):
def update(self): def update(self):
pass pass
@export() @export
def set_config(self, config): def set_config(self, config):
"sets the config dictionary" "sets the config dictionary"
for key in config.keys(): for key in config.keys():
self.config[key] = config[key] self.config[key] = config[key]
self.config.save() self.config.save()
@export() @export
def get_config(self): def get_config(self):
"returns the config dictionary" "returns the config dictionary"
return self.config.config return self.config.config