summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/uca-camera.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/uca-camera.c b/src/uca-camera.c
index 2de1489..50a9aea 100644
--- a/src/uca-camera.c
+++ b/src/uca-camera.c
@@ -967,6 +967,9 @@ uca_camera_grab (UcaCamera *camera, gpointer data, GError **error)
Py_END_ALLOW_THREADS
PyGILState_Release (state);
}
+ else {
+ result = (*klass->grab) (camera, data, error);
+ }
#else
result = (*klass->grab) (camera, data, error);
#endif