almost certainly not fixed
This commit is contained in:
@@ -10,8 +10,8 @@ def index():
|
|||||||
status = {'temperature': float(open('/sys/class/thermal/thermal_zone0/temp').read()) / 1000}
|
status = {'temperature': float(open('/sys/class/thermal/thermal_zone0/temp').read()) / 1000}
|
||||||
return render_template('status.html', device=device, status=status)
|
return render_template('status.html', device=device, status=status)
|
||||||
|
|
||||||
@app.route('/images/<path:filename>')
|
@app.route('/images/blooper.jpg')
|
||||||
def send_image(filename):
|
def send_image():
|
||||||
#filename = os.path.join('resources', 'blooper.jpg')
|
#filename = os.path.join('resources', 'blooper.jpg')
|
||||||
return send_from_directory('/resources/', filename)
|
return send_from_directory('/resources/', 'blooper.jpg')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user