diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-01-02 18:11:31 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-01-02 18:11:31 +0100 |
commit | 6b20f5f6c063e4e6c94d719b607ad5a028b8beee (patch) | |
tree | a8c3dfa9962aa819507870553700a35b7dcc4c74 /module/Api.py | |
parent | Remove '/' from filename to avoid filepath exception (diff) | |
download | pyload-6b20f5f6c063e4e6c94d719b607ad5a028b8beee.tar.xz |
new configManager for multi user configs
Diffstat (limited to 'module/Api.py')
-rw-r--r-- | module/Api.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/Api.py b/module/Api.py index 0b777a659..fb3c59483 100644 --- a/module/Api.py +++ b/module/Api.py @@ -302,7 +302,8 @@ class Api(Iface): def getConfig(self): """Retrieves complete config of core. - :return: map of `ConfigHolder` + :rtype : ConfigHolder + :return: dict with section mapped to config """ # TODO return dict([(section, ConfigHolder(section, data.name, data.description, data.long_desc, [ @@ -765,6 +766,7 @@ class Api(Iface): p = self.core.files.getPackage(pid) if not p: raise PackageDoesNotExists(pid) + #TODO: fix for key, value in data.iteritems(): if key == "id": continue setattr(p, key, value) |