Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #89 from psyfood/dll
Browse files Browse the repository at this point in the history
BF: Fix DLL search for Python 3.6 and 3.7
  • Loading branch information
hoechenberger authored May 14, 2021
2 parents 555c56b + fb8ccff commit 729b6f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Version 2021.1.2
----------------
* The DLL search improvement introduced in 2021.1 is now working correctly for
Python 3.6 and 3.7, too.

Version 2021.1
--------------
* Improve automated DLL search path configuration; the DLLs should be loadable
Expand Down
4 changes: 2 additions & 2 deletions pyqmix/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def find_dll(dll_dir, dll_filename):
try:
# Python >= 3.8
os.add_dll_directory(dll_dir)
except NameError:
except AttributeError:
pass

return dll_path
Expand All @@ -109,7 +109,7 @@ def find_dll(dll_dir, dll_filename):
try:
# Python >= 3.8
os.add_dll_directory(dll_dir)
except NameError:
except AttributeError:
pass

return dll_path
Expand Down

0 comments on commit 729b6f3

Please sign in to comment.