Only blink on rpi

This commit is contained in:
ABelliqueux 2022-11-15 17:02:38 +01:00
parent 41559a2d8d
commit 4b95a8130e
1 changed files with 2 additions and 1 deletions

3
app.py
View File

@ -165,7 +165,8 @@ def rssi():
@app.route("/blink") @app.route("/blink")
@auth.login_required @auth.login_required
def blink(): def blink():
thread_blink() if running_on_rpi():
thread_blink()
return _("Blinkin") return _("Blinkin")
@app.route("/reboot") @app.route("/reboot")