summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-05-10 23:15:36 +0200
committerGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-05-10 23:15:36 +0200
commita98a3f2e315f36d8d8ad8431e91d8e89f5fcbc48 (patch)
tree9f21bd2f7db662439ff40a83ae9a34f2fd0602f8
parentRemove old CLI (diff)
downloadpyload-a98a3f2e315f36d8d8ad8431e91d8e89f5fcbc48.tar.xz
[ClickAndLoad] fix bug when package name contains non ascii characters
-rw-r--r--pyload/api/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/api/__init__.py b/pyload/api/__init__.py
index ddb3e16ff..c17a1a66d 100644
--- a/pyload/api/__init__.py
+++ b/pyload/api/__init__.py
@@ -336,7 +336,7 @@ class Api(Iface):
self.core.files.addLinks(links, pid)
- self.core.log.info(_("Added package %(name)s containing %(count)d links") % {"name": name, "count": len(links)})
+ self.core.log.info(_("Added package %(name)s containing %(count)d links") % {"name": name.decode('utf-8'), "count": len(links)})
self.core.files.save()