From 5178827384641df7db4218943e5c63230ca64073 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sun, 24 Nov 2013 16:24:28 +0200 Subject: [PATCH] requirements test fix --- motioneye.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/motioneye.py b/motioneye.py index bab8787..ec39953 100755 --- a/motioneye.py +++ b/motioneye.py @@ -32,9 +32,6 @@ VERSION = '0.7' def _test_requirements(): - import mediafiles - import motionctl - import v4l2ctl try: import tornado # @UnusedImport @@ -57,8 +54,13 @@ def _test_requirements(): except ImportError: pil = False + import mediafiles ffmpeg = mediafiles.find_ffmpeg() is not None + + import motionctl motion = motionctl.find_motion() is not None + + import v4l2ctl v4lutils = v4l2ctl.find_v4l2_ctl() is not None ok = True -- 2.39.5