🚑 whois: fix for output redirection & special case

This commit is contained in:
一只瓜 2021-02-15 17:25:17 +08:00 committed by GitHub
parent 45b7182701
commit fab58dde8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
import json
import os,sys,codecs
sys.stdout = codecs.getwriter("utf-8")(sys.stdout.detach())
from requests import get
from pagermaid.listener import listener
from pagermaid.utils import obtain_message