From: Calin Crisan Date: Fri, 25 Sep 2015 19:14:17 +0000 (+0300) Subject: minor meyectl.py and thumbnailer.py changes X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=b4c58e836010e68e2b4f38b5b51f47d27baa279a;p=motioneye-debian minor meyectl.py and thumbnailer.py changes --- diff --git a/motioneye/handlers.py b/motioneye/handlers.py index 0215b40..7f0f761 100644 --- a/motioneye/handlers.py +++ b/motioneye/handlers.py @@ -150,7 +150,7 @@ class MainHandler(BaseHandler): self.render('main.html', frame=False, version=motioneye.VERSION, - enable_update=False, + enable_update=settings.ENABLE_UPDATE, enable_reboot=settings.ENABLE_REBOOT, add_remove_cameras=settings.ADD_REMOVE_CAMERAS, main_sections=main_sections, diff --git a/motioneye/settings.py b/motioneye/settings.py index 64a1911..965a2ab 100644 --- a/motioneye/settings.py +++ b/motioneye/settings.py @@ -98,6 +98,9 @@ LOCAL_TIME_FILE = None # (such as wifi settings or time zone) ENABLE_REBOOT = False +# enables motionEye version update (not implemented by default) +ENABLE_UPDATE = False + # timeout in seconds to use when talking to the SMTP server SMTP_TIMEOUT = 60