diff options
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/hoster/UploadedTo.py | 1 | ||||
-rw-r--r-- | module/remote/thriftbackend/Handler.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hoster/UploadedTo.py b/module/plugins/hoster/UploadedTo.py index 17765e1d3..426101c4c 100644 --- a/module/plugins/hoster/UploadedTo.py +++ b/module/plugins/hoster/UploadedTo.py @@ -82,6 +82,7 @@ class UploadedTo(Hoster): html = self.load(self.pyfile.url, utf8=True) except error, e: if e.args and e.args[0] == 23: + self.log.warning(_("Deactivate direct downloads in your Uploaded.to Account settings.")) self.download(self.pyfile.url) else: url = re.search(r'action="(http://.*\.uploaded.to/dl\?id=[^"]+)', html) 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 |