Debian: Fix encoding issue.

master
Valentin Lorentz 2013-02-01 20:13:12 +01:00
parent 10f94b54c5
commit a940b1547d
1 changed files with 1 additions and 1 deletions

View File

@ -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'):