Skip to content

Commit 84186f2

Browse files
committed
Work on Python 3.5.
1 parent 5be27b6 commit 84186f2

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

libloader/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from .libloader import *
22

3-
__version__ = 0.2
3+
__version__ = 0.21
44
__author__ = 'Christopher Toth'
55
__author_email__ = '<q@q-continuum.net>'
66
__doc__ = """

libloader/libloader.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@
2929
class LibraryLoadError(OSError): pass
3030

3131
def load_library(library, x86_path='.', x64_path='.', *args, **kwargs):
32-
library = library.encode(sys.getfilesystemencoding())
33-
x86_path = x86_path.encode(sys.getfilesystemencoding())
34-
x64_path = x64_path.encode(sys.getfilesystemencoding())
3532
lib = find_library_path(library, x86_path=x86_path, x64_path=x64_path)
3633
loaded = _do_load(lib, *args, **kwargs)
3734
if loaded is not None:

0 commit comments

Comments
 (0)