Skip to content

Commit

Permalink
Fix SLF001 (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
joostlek committed Feb 21, 2024
1 parent 70d4e5b commit dd60f8d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ ignore = [
"PLW2901",
"RET507",
"SIM102",
"SLF001",
]
select = ["ALL"]

Expand Down
1 change: 0 additions & 1 deletion roombapy/remote_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ def _get_mqtt_client(self):
mqtt_client.on_disconnect = self._internal_on_disconnect

self.log.debug("Setting TLS certificate")
mqtt_client._ssl_context = None
ssl_context = generate_tls_context()
mqtt_client.tls_set_context(ssl_context)
mqtt_client.tls_insecure_set(True)
Expand Down

0 comments on commit dd60f8d

Please sign in to comment.