diff options
Diffstat (limited to 'module/remote/thriftbackend/Handler.py')
-rw-r--r-- | module/remote/thriftbackend/Handler.py | 2 |
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 |