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