コード例 #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)