From e2631e4e3d82451befcce4aa08eba965de82fae6 Mon Sep 17 00:00:00 2001 From: d3vyce Date: Fri, 16 Feb 2024 18:13:49 +0100 Subject: [PATCH] fix: lint warning --- src/teleinfo_exporter/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/teleinfo_exporter/app.py b/src/teleinfo_exporter/app.py index 2f65e22..1153f5f 100644 --- a/src/teleinfo_exporter/app.py +++ b/src/teleinfo_exporter/app.py @@ -155,7 +155,6 @@ def on_disconnect(client, userdata, rc): if not client.reconnect(): break except ConnectionRefusedError: - pass time.sleep(1) @@ -175,6 +174,7 @@ def verify_password(username, password): return username return None + @app.route("/metrics") def metrics(): return make_wsgi_app()