diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-07-01 13:51:34 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-07-01 13:51:34 +0200 |
commit | 670fb45a46d8723b2c7bf3d667911c567c433283 (patch) | |
tree | fb8de33ae76f8e146ad88b6c0e485fbfec0ead27 /module/remote/thriftbackend/Handler.py | |
parent | cleanup (diff) | |
download | pyload-670fb45a46d8723b2c7bf3d667911c567c433283.tar.xz |
new api class + documentation
Diffstat (limited to 'module/remote/thriftbackend/Handler.py')
-rw-r--r-- | module/remote/thriftbackend/Handler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/remote/thriftbackend/Handler.py b/module/remote/thriftbackend/Handler.py index d518c6e88..998ace06b 100644 --- a/module/remote/thriftbackend/Handler.py +++ b/module/remote/thriftbackend/Handler.py @@ -34,7 +34,7 @@ class Handler(Iface): item = ConfigItem() item.name = key item.description = data["desc"] - item.value = str(data["value"]) if type(data["value"]) not in (str, unicode) else data["value"] + item.value = str(data["value"]) if type(data["value"]) != basestring else data["value"] item.type = data["type"] items.append(item) section.items = items @@ -59,7 +59,7 @@ class Handler(Iface): - value - section """ - self.serverMethods.set_conf_val(category, option, value, section) + pass def getConfig(self): c = self.serverMethods.get_config() |