summaryrefslogtreecommitdiff
path: root/tools/openblas_support.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/openblas_support.py')
-rw-r--r--tools/openblas_support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/openblas_support.py b/tools/openblas_support.py
index ce677f9a5..081553865 100644
--- a/tools/openblas_support.py
+++ b/tools/openblas_support.py
@@ -197,7 +197,7 @@ def make_init(dirname):
'''
Create a _distributor_init.py file for OpenBlas
'''
- with open(os.path.join(dirname, '_distributor_init.py'), 'wt') as fid:
+ with open(os.path.join(dirname, '_distributor_init.py'), 'w') as fid:
fid.write(textwrap.dedent("""
'''
Helper to preload windows dlls to prevent dll not found errors.