def set_shutter_open(): open_shutter_value = mm_util.from_js_boolean(request.form['open-shutter']) return _set_shutter_open(open_shutter_value)
def set_auto_shutter(): auto_shutter_value = mm_util.from_js_boolean(request.form['auto-shutter']) return _set_auto_shutter(auto_shutter_value)