From 7fd8717ac6b08dc87144cdd7c242ac934dc9bdef Mon Sep 17 00:00:00 2001 From: Stupido Date: Tue, 15 Jan 2019 11:33:10 +0800 Subject: [PATCH] Update download.py --- download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download.py b/download.py index 1118bf7..a741d04 100644 --- a/download.py +++ b/download.py @@ -84,7 +84,7 @@ def shorten_title(title): if results.overwrite and os.path.exists(output_directory): shutil.rmtree(output_directory) - with open('README.md') as readme: + with open('README.md',encoding='utf8) as readme: readme_html = mistune.markdown(readme.read()) readme_soup = BeautifulSoup.BeautifulSoup(readme_html, "html.parser")