diff options
| -rw-r--r-- | pymba/vimba_frame.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pymba/vimba_frame.py b/pymba/vimba_frame.py index 072aaf8..8cf0c86 100644 --- a/pymba/vimba_frame.py +++ b/pymba/vimba_frame.py @@ -159,8 +159,8 @@ class VimbaFrame(object): POINTER(c_ubyte * self.payloadSize)) # make array of c_ubytes from buffer - imagebytes = int(self.height*self.width*self.pixel_bytes) - array = (c_ubyte*imagebytes).from_address(addressof(data.contents)) + imagebytes = int(self.height * self.width * self.pixel_bytes) + array = (c_ubyte * imagebytes).from_address(addressof(data.contents)) return array |
