From 5c3d32d05d23f50f4e2cc63d933c834abe2d68d8 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 19 Jul 2019 13:50:01 +0200 Subject: [PATCH] Fixed undefined reference --- platypush/plugins/camera/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/camera/__init__.py b/platypush/plugins/camera/__init__.py index 22970ab66..e64d07989 100644 --- a/platypush/plugins/camera/__init__.py +++ b/platypush/plugins/camera/__init__.py @@ -116,7 +116,7 @@ class CameraPlugin(Plugin): self._default_frames_dir = os.path.join(Config.get('workdir'), 'camera', 'frames') self.default_device_id = device_id - self.frames_dir = os.path.abspath(os.path.expanduser(frames_dir or _default_frames_dir)) + self.frames_dir = os.path.abspath(os.path.expanduser(frames_dir or self._default_frames_dir)) self.warmup_frames = warmup_frames self.video_type = cv2.VideoWriter_fourcc(*video_type) \ if isinstance(video_type, str) else video_type