almost certainly not fixed

This commit is contained in:
2019-08-19 21:05:46 -05:00
parent a0e04906ff
commit ec57318191

View File

@@ -10,8 +10,8 @@ def index():
status = {'temperature': float(open('/sys/class/thermal/thermal_zone0/temp').read()) / 1000}
return render_template('status.html', device=device, status=status)
@app.route('/images/<path:filename>')
def send_image(filename):
@app.route('/images/blooper.jpg')
def send_image():
#filename = os.path.join('resources', 'blooper.jpg')
return send_from_directory('/resources/', filename)
return send_from_directory('/resources/', 'blooper.jpg')