mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 12:04:10 +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):
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user