From 5888985a94f9f6362f5e948d57c448e4d280d2a6 Mon Sep 17 00:00:00 2001 From: Aymeric Dujardin Date: Thu, 27 Feb 2020 12:10:17 +0100 Subject: [PATCH] Fix #141 get_sdk_version() --- pyzed/sl.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyzed/sl.pyx b/pyzed/sl.pyx index b65a6f1..69308e6 100644 --- a/pyzed/sl.pyx +++ b/pyzed/sl.pyx @@ -6306,8 +6306,8 @@ cdef class Camera: @staticmethod def get_sdk_version(): cls = Camera() - return cls.camera.getSDKVersion().get().decode() - + return to_str(cls.camera.getSDKVersion()).decode() + ## # List all the connected devices with their associated information. # This function lists all the cameras available and provides their serial number, models and other information.