aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma_method.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-02 10:03:38 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-02 10:03:38 +0200
commit22045dfb614da1ecd9192937c609591e4bdb606d (patch)
tree70513c9c0895714a9cd61aadfc7b6fe3a634568c /src/libgamma_method.py
parentderp (diff)
downloadpylibgamma-22045dfb614da1ecd9192937c609591e4bdb606d.tar.gz
pylibgamma-22045dfb614da1ecd9192937c609591e4bdb606d.tar.bz2
pylibgamma-22045dfb614da1ecd9192937c609591e4bdb606d.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
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)