Fix newly-introduced crash under Windows

ref #14
这个提交包含在:
Virgil Dupras 2017-08-07 22:51:37 -04:00
父节点 75a9cd6b55
当前提交 3071684f73
共有 1 个文件被更改,包括 3 次插入1 次删除

查看文件

@ -11,7 +11,9 @@ PY3 = sys.version_info[0] >= 3
if PY3:
text_type = str
binary_type = bytes
environb = os.environb
if os.supports_bytes_environ:
# environb will be unset under Windows, but then again we're not supposed to use it.
environb = os.environb
else:
text_type = unicode
binary_type = str