From: Calin Crisan <ccrisan@gmail.com> Date: Sun, 24 Nov 2013 14:24:28 +0000 (+0200) Subject: requirements test fix X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=5178827384641df7db4218943e5c63230ca64073;p=motioneye-debian requirements test fix --- 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