Skip to content

Commit

Permalink
Merge pull request #13 from yuzibo/patch-1
Browse files Browse the repository at this point in the history
Resolve issue #9
  • Loading branch information
longcw committed Jun 21, 2018
2 parents 6e7a85b + a61c1a3 commit d9a6c34
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions youdao/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ def parse_args():


def main():
# resolve issue #9
reload(sys)
sys.setdefaultencoding('utf-8')
args = parse_args()
config.prepare()

Expand Down

0 comments on commit d9a6c34

Please sign in to comment.