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

1
app.py
View File

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