From a940b1547d96cfb14467c4cef256f581e710d8aa Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 1 Feb 2013 20:13:12 +0100 Subject: [PATCH] Debian: Fix encoding issue. --- Debian/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Debian/plugin.py b/Debian/plugin.py index 26a7557..d7298af 100644 --- a/Debian/plugin.py +++ b/Debian/plugin.py @@ -258,7 +258,7 @@ class Debian(callbacks.Plugin): pkg = pkg.lower() try: text = utils.web.getUrl('http://packages.qa.debian.org/%s/%s.html' % - (pkg[0], pkg)).decode() + (pkg[0], pkg)).decode('utf8') except utils.web.Error: irc.errorInvalid('source package name') for line in text.split('\n'):