Fixed undefined reference

This commit is contained in:
Fabio Manganiello 2019-07-19 13:50:01 +02:00
parent f86e2eb5a7
commit 5c3d32d05d
1 changed files with 1 additions and 1 deletions

View File

@ -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