mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 03:55:43 +00:00
remove the paranthesis from the decorators in core.py
This commit is contained in:
parent
92a37b7d81
commit
4cfa6485d7
@ -119,14 +119,14 @@ class Core(CorePluginBase):
|
||||
def update(self):
|
||||
pass
|
||||
|
||||
@export()
|
||||
@export
|
||||
def set_config(self, config):
|
||||
"sets the config dictionary"
|
||||
for key in config.keys():
|
||||
self.config[key] = config[key]
|
||||
self.config.save()
|
||||
|
||||
@export()
|
||||
@export
|
||||
def get_config(self):
|
||||
"returns the config dictionary"
|
||||
return self.config.config
|
||||
|
Loading…
x
Reference in New Issue
Block a user