Rework the webcam detection

This commit is contained in:
nono
2025-06-24 23:27:28 +02:00
committed by n07070
parent 1a1c4e2fb3
commit 8157c5cb9d
3 changed files with 110 additions and 119 deletions

View File

@@ -221,7 +221,7 @@ def logout_page():
@app.errorhandler(429)
def ratelimit_handler(e):
flash("Rate limit reached, please slow down :) ( Currently at "+ e.description + ")", 'error')
app.logger.debug('Rate limit reached ' + e)
app.logger.debug('Rate limit reached ' + str(e.description))
return redirect(url_for("index"))
@app.route("/ping")