From 80b4e164ec20d27174b692a0d9673db6a14ad894 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Tue, 6 Aug 2013 10:16:52 +0000 Subject: [PATCH] Internet: Fix @whois. --- plugins/Internet/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Internet/plugin.py b/plugins/Internet/plugin.py index a8c7f8fbc..8128b4b61 100644 --- a/plugins/Internet/plugin.py +++ b/plugins/Internet/plugin.py @@ -100,7 +100,7 @@ class Internet(callbacks.Plugin): pass server = registrar = updated = created = expires = status = '' for line in s.splitlines(): - line = line.decode('ascii').strip() + line = line.decode('utf8').strip() if not line or ':' not in line: continue if not server and any(line.startswith, self._domain):