Ticket #1098: createtorrent.patch

File createtorrent.patch, 669 bytes (added by Chase, 15 years ago)
  • deluge/scripts/create_plugin.py

     
    120120
    121121    @export
    122122    def set_config(self, config):
    123         "sets the config dictionary"
     123        \"\"\"sets the config dictionary\"\"\"
    124124        for key in config.keys():
    125125            self.config[key] = config[key]
    126126        self.config.save()
    127127
    128128    @export
    129129    def get_config(self):
    130         "returns the config dictionary"
     130        \"\"\"returns the config dictionary\"\"\"
    131131        return self.config.config
    132132"""