This commit is contained in:
parent
ca4f97c07b
commit
f65aa23021
10
Flask/app.py
10
Flask/app.py
|
@ -404,6 +404,16 @@ def config_post():
|
||||||
def logs():
|
def logs():
|
||||||
return(render_template("logs.html"))
|
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):
|
def maxi(dict):
|
||||||
m = 0
|
m = 0
|
||||||
for i in dict :
|
for i in dict :
|
||||||
|
|
|
@ -64,6 +64,7 @@
|
||||||
<tr><td>logs viewer</td></tr>
|
<tr><td>logs viewer</td></tr>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
|
<a href="/images/myw3schoolsimage.jpg" download></a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{%endblock %}
|
{%endblock %}
|
||||||
|
|
||||||
|
|
1
V6.py
1
V6.py
|
@ -832,6 +832,7 @@ else :
|
||||||
display = SmartDisplay(size=(1920, 1080))
|
display = SmartDisplay(size=(1920, 1080))
|
||||||
display.start()
|
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:
|
if g.custom_start:
|
||||||
CustomStart()
|
CustomStart()
|
||||||
|
|
Loading…
Reference in New Issue