mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Internet: Fix @whois.
This commit is contained in:
parent
6a4750015e
commit
80b4e164ec
@ -100,7 +100,7 @@ class Internet(callbacks.Plugin):
|
|||||||
pass
|
pass
|
||||||
server = registrar = updated = created = expires = status = ''
|
server = registrar = updated = created = expires = status = ''
|
||||||
for line in s.splitlines():
|
for line in s.splitlines():
|
||||||
line = line.decode('ascii').strip()
|
line = line.decode('utf8').strip()
|
||||||
if not line or ':' not in line:
|
if not line or ':' not in line:
|
||||||
continue
|
continue
|
||||||
if not server and any(line.startswith, self._domain):
|
if not server and any(line.startswith, self._domain):
|
||||||
|
Loading…
Reference in New Issue
Block a user