mirror of
https://github.com/arsenetar/send2trash.git
synced 2025-05-09 10:19:50 +00:00
parent
75a9cd6b55
commit
3071684f73
@ -11,6 +11,8 @@ PY3 = sys.version_info[0] >= 3
|
|||||||
if PY3:
|
if PY3:
|
||||||
text_type = str
|
text_type = str
|
||||||
binary_type = bytes
|
binary_type = bytes
|
||||||
|
if os.supports_bytes_environ:
|
||||||
|
# environb will be unset under Windows, but then again we're not supposed to use it.
|
||||||
environb = os.environb
|
environb = os.environb
|
||||||
else:
|
else:
|
||||||
text_type = unicode
|
text_type = unicode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user