From a98a3f2e315f36d8d8ad8431e91d8e89f5fcbc48 Mon Sep 17 00:00:00 2001 From: GammaC0de Date: Mon, 11 May 2015 00:15:36 +0300 Subject: [ClickAndLoad] fix bug when package name contains non ascii characters --- pyload/api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3