Browse Source

[build] Fix bug in 08d30158ec8e7e08c1d83dcfde6dba18c95b2640

pukkandan 3 years ago
parent
commit
aee6ce5867
1 changed files with 2 additions and 2 deletions
  1. 2 2
      setup.py

+ 2 - 2
setup.py

@@ -21,9 +21,9 @@ DESCRIPTION = 'A youtube-dl fork with additional features and patches'
 LONG_DESCRIPTION = '\n\n'.join((
     'Official repository: <https://github.com/yt-dlp/yt-dlp>',
     '**PS**: Some links in this document will not work since this is a copy of the README.md from Github',
-    open('README.md').read()))
+    open('README.md', encoding='utf-8').read()))
 
-REQUIREMENTS = open('requirements.txt').read().splitlines()
+REQUIREMENTS = open('requirements.txt', encoding='utf-8').read().splitlines()
 
 
 if sys.argv[1:2] == ['py2exe']: