mirror of
https://github.com/d3vyce/teleinfo-exporter.git
synced 2025-04-03 16:53:23 +02:00
fix: lint warning
This commit is contained in:
parent
73c3e25b91
commit
a734ca1979
@ -148,7 +148,7 @@ def on_message(client, userdata, message): # pylint: disable=unused-argument
|
|||||||
teleinfo_contract_type.labels(message["TIC"]["OPTARIF"]).set(0)
|
teleinfo_contract_type.labels(message["TIC"]["OPTARIF"]).set(0)
|
||||||
|
|
||||||
|
|
||||||
def on_disconnect(client, userdata, rc):
|
def on_disconnect(client, userdata, rc): # pylint: disable=unused-argument
|
||||||
print("Diconnected from broker, reconnecting...")
|
print("Diconnected from broker, reconnecting...")
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user