]> www.vanbest.org Git - motioneye-debian/commitdiff
minor meyectl.py and thumbnailer.py changes
authorCalin Crisan <ccrisan@gmail.com>
Fri, 25 Sep 2015 19:14:17 +0000 (22:14 +0300)
committerCalin Crisan <ccrisan@gmail.com>
Fri, 25 Sep 2015 19:14:17 +0000 (22:14 +0300)
motioneye/handlers.py
motioneye/settings.py

index 0215b40da4932fae0064b1e3a1928fd15c2c779a..7f0f761b0399eee0b1ca8ecd9b5e6689fa9d17d7 100644 (file)
@@ -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,
index 64a1911c626f7029cd475bcf916090a86f6912f7..965a2ab5c991c549e8800f39e23ed22ced551ecd 100644 (file)
@@ -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