aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma_method.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgamma_method.py')
-rw-r--r--src/libgamma_method.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libgamma_method.py b/src/libgamma_method.py
index 1c14049..0e71950 100644
--- a/src/libgamma_method.py
+++ b/src/libgamma_method.py
@@ -780,7 +780,7 @@ class GammaRamps:
else:
raise ValueError('invalid gamma ramp depth')
if isinstance(ramp_struct, int):
- import c
+ import libgamma_native_error as c
error = OSError()
error.errno = ramp_struct
error.strerror = c.strerror(error.errno)