def test_connect(): started = photobox.start() if not started: photobox.send_initial_photo_count()
def index(): photobox.start() return render_template('index.html')
def capture_button(): photobox.start() return render_template('index.html', show_button=True)