mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 01:18:39 +00:00
Fix #1098 use triple quotes in the docstrings of the generated methods
This commit is contained in:
parent
35dfcf3a77
commit
fdc7d3d7fc
1 changed files with 6 additions and 6 deletions
|
@ -120,14 +120,14 @@ class Core(CorePluginBase):
|
||||||
|
|
||||||
@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
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
@ -324,13 +324,13 @@ Copyright:
|
||||||
}, config);
|
}, config);
|
||||||
%(name)sPlugin.superclass.constructor.call(this, config);
|
%(name)sPlugin.superclass.constructor.call(this, config);
|
||||||
},
|
},
|
||||||
|
|
||||||
onDisable: function() {
|
onDisable: function() {
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
onEnable: function() {
|
onEnable: function() {
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
new %(name)sPlugin();
|
new %(name)sPlugin();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue