toverainc / willow-application-server

Willow Application Server
Apache License 2.0
19 stars 9 forks source link

command_endpoints: fix cb_disconnect in MqttEndpoint #58

Closed stintel closed 10 months ago

stintel commented 10 months ago

The cb_disconnect function lacks the self argument.

Silences the following flake8 errors:

app/internal/command_endpoints/mqtt.py:95:9: F821 undefined name 'self' app/internal/command_endpoints/mqtt.py:96:9: F821 undefined name 'self'

Fixes: 571cf763b0db ("command_endpoints: add connected boolean to MqttEndpoint")