summaryrefslogtreecommitdiffstats
path: root/module/remote
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-03-14 16:48:17 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-03-14 16:48:17 +0100
commitbc54df5186ceb8d656c9e17f1e208f36f071c1cb (patch)
treebda974cd60be7d627e9dde613d345174f85c69c8 /module/remote
parentul direct download (diff)
downloadpyload-bc54df5186ceb8d656c9e17f1e208f36f071c1cb.tar.xz
new l18n files
Diffstat (limited to 'module/remote')
-rw-r--r--module/remote/thriftbackend/Handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/remote/thriftbackend/Handler.py b/module/remote/thriftbackend/Handler.py
index 62896af9f..bd37c7eb2 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"])
+ item.value = str(data["value"]) if type(data["value"]) not in (str, unicode) else data["value"]
item.type = data["type"]
items.append(item)
section.items = items