예제 #1
0
파일: views.py 프로젝트: mathebox/photobox
def test_connect():
    started = photobox.start()
    if not started:
        photobox.send_initial_photo_count()
예제 #2
0
파일: views.py 프로젝트: mathebox/photobox
def index():
    photobox.start()
    return render_template('index.html')
예제 #3
0
파일: views.py 프로젝트: mathebox/photobox
def capture_button():
    photobox.start()
    return render_template('index.html', show_button=True)