1
0
mirror of https://github.com/arsenetar/send2trash.git synced 2026-01-25 16:11:39 +00:00

2 Commits
1.4.0 ... 1.4.1

Author SHA1 Message Date
Virgil Dupras
22ed5dc09b v1.4.1 2017-08-07 23:12:36 -04:00
Virgil Dupras
3071684f73 Fix newly-introduced crash under Windows
ref #14
2017-08-07 22:51:37 -04:00
3 changed files with 9 additions and 2 deletions

View File

@@ -1,6 +1,11 @@
Changes Changes
======= =======
Version 1.4.1 -- 2017/08/07
---------------------------
* Fix crash on Windows introduced in v1.4.0. Oops... (#14)
Version 1.4.0 -- 2017/08/07 Version 1.4.0 -- 2017/08/07
--------------------------- ---------------------------

View File

@@ -11,7 +11,9 @@ PY3 = sys.version_info[0] >= 3
if PY3: if PY3:
text_type = str text_type = str
binary_type = bytes 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: else:
text_type = unicode text_type = unicode
binary_type = str binary_type = str

View File

@@ -19,7 +19,7 @@ LONG_DESCRIPTION = open('README.rst', 'rt').read() + '\n\n' + open('CHANGES.rst'
setup( setup(
name='Send2Trash', name='Send2Trash',
version='1.4.0', version='1.4.1',
author='Virgil Dupras', author='Virgil Dupras',
author_email='hsoft@hardcoded.net', author_email='hsoft@hardcoded.net',
packages=['send2trash'], packages=['send2trash'],