Ticket #1098: createtorrent.patch
File createtorrent.patch, 669 bytes (added by , 15 years ago) |
---|
-
deluge/scripts/create_plugin.py
120 120 121 121 @export 122 122 def set_config(self, config): 123 "sets the config dictionary"123 \"\"\"sets the config dictionary\"\"\" 124 124 for key in config.keys(): 125 125 self.config[key] = config[key] 126 126 self.config.save() 127 127 128 128 @export 129 129 def get_config(self): 130 "returns the config dictionary"130 \"\"\"returns the config dictionary\"\"\" 131 131 return self.config.config 132 132 """