mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 05:25:02 +03:00
fix in ios run python is error
This commit is contained in:
parent
5b02bce500
commit
44bcf3b210
@ -19,7 +19,10 @@ from .util import log, term
|
||||
from .util.git import get_version
|
||||
from .util.strings import get_filename, unescape_html
|
||||
from . import json_output as json_output_
|
||||
sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='utf8')
|
||||
try:
|
||||
sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='utf8')
|
||||
except:
|
||||
pass
|
||||
|
||||
SITES = {
|
||||
'163' : 'netease',
|
||||
|
Loading…
Reference in New Issue
Block a user