This commit is contained in:
piair 2023-08-21 19:30:49 +02:00
parent ca4f97c07b
commit f65aa23021
3 changed files with 12 additions and 0 deletions

View File

@ -404,6 +404,16 @@ def config_post():
def logs():
return(render_template("logs.html"))
@app.route('/pdf/<path:filename>', methods=['GET', 'POST'])
def download(filename):
return send_from_directory(directory='/user_data', filename=filename)
def maxi(dict):
m = 0
for i in dict :

View File

@ -64,6 +64,7 @@
<tr><td>logs viewer</td></tr>
</table>
</form>
<a href="/images/myw3schoolsimage.jpg" download></a>
{% endif %}
{%endblock %}

1
V6.py
View File

@ -832,6 +832,7 @@ else :
display = SmartDisplay(size=(1920, 1080))
display.start()
webhookFailure.send(f"Starting on this config", username="UPDATE", avatar_url="https://cdn-icons-png.flaticon.com/512/1688/1688988.png")
if g.custom_start:
CustomStart()