Beispiel #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)
Beispiel #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)