From: Calin Crisan Date: Thu, 20 Aug 2015 06:45:02 +0000 (+0300) Subject: netcam keepalive fix X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=330b203193c3e7044ddfe828f37669835ee93267;p=motioneye-debian netcam keepalive fix --- diff --git a/src/config.py b/src/config.py index 235d763..2302935 100644 --- a/src/config.py +++ b/src/config.py @@ -507,7 +507,7 @@ def add_camera(device_details): if device_details['username']: camera_config['netcam_userpass'] = device_details['username'] + ':' + device_details['password'] - camera_config['netcam_keepalive'] = device_details.get('keep_alive') + camera_config['netcam_keepalive'] = device_details.get('keep_alive', False) camera_config['netcam_tolerant_check'] = True if device_details.get('camera_index') == 'udp':