提交 b7db2da1 编写于 作者: P Patas007 提交者: Me No Dev

Unicode support in get.py (#781)

Localized versions of Linux systems use Unicode characters in the names of standard directories like "Downloads".
上级 a276ae0b
......@@ -24,7 +24,7 @@ else:
if 'Windows' in platform.system():
import requests
current_dir = os.path.dirname(os.path.realpath(__file__))
current_dir = os.path.dirname(os.path.realpath(unicode(__file__)))
dist_dir = current_dir + '/dist/'
def sha256sum(filename, blocksize=65536):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册