Loading openflexure_microscope/api/v1/blueprints/camera/capture.py +1 −1 Original line number Diff line number Diff line Loading @@ -112,7 +112,7 @@ class ListAPI(MicroscopeView): if ('width' in resize) and ('height' in resize): resize = (int(resize['width']), int(resize['height'])) # Convert dict to tuple else: abort(400) abort(404) # Explicitally acquire lock (prevents empty files being created if lock is unavailable) with self.microscope.camera.lock: Loading Loading
openflexure_microscope/api/v1/blueprints/camera/capture.py +1 −1 Original line number Diff line number Diff line Loading @@ -112,7 +112,7 @@ class ListAPI(MicroscopeView): if ('width' in resize) and ('height' in resize): resize = (int(resize['width']), int(resize['height'])) # Convert dict to tuple else: abort(400) abort(404) # Explicitally acquire lock (prevents empty files being created if lock is unavailable) with self.microscope.camera.lock: Loading