mirror of
https://github.com/d3vyce/teleinfo-exporter.git
synced 2025-04-03 00:33:22 +02:00
fix: lint warning
This commit is contained in:
parent
0160aa6197
commit
e2631e4e3d
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user