diff --git a/platypush/plugins/camera/pi.py b/platypush/plugins/camera/pi.py index ab359ed10a..773e57496b 100644 --- a/platypush/plugins/camera/pi.py +++ b/platypush/plugins/camera/pi.py @@ -63,7 +63,7 @@ class CameraPiPlugin(CameraPlugin): # noinspection PyUnresolvedReferences,PyPackageRequirements def _get_camera(self, **opts): - if self._camera: + if self._camera and not self._camera.closed: return self._camera import picamera