summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-11 00:34:04 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-11 00:34:04 +0200
commit95595f20e8d3212e5030fedaebf9505ba7b3ae39 (patch)
tree9f21bd2f7db662439ff40a83ae9a34f2fd0602f8
parentRemove old CLI (diff)
parent[ClickAndLoad] fix bug when package name contains non ascii characters (diff)
downloadpyload-95595f20e8d3212e5030fedaebf9505ba7b3ae39.tar.xz
Merge pull request #12 from GammaC0de/GammaC0de-fix-api
[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()