Skip to content

Commit bb679e8

Browse files
committed
fix a regression due to the rebase'ing...
1 parent 7bc0ec6 commit bb679e8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

adafruit_esp32spi/adafruit_esp32spi_wifimanager.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,13 @@ def __init__(self, esp, secrets, status_pixel=None, attempts=2, connection_type=
5757
connection to make. The default is "normal".
5858
"""
5959
# Read the settings
60-
self.esp = esp
60+
self._esp = esp
6161
self.debug = False
6262
self.ssid = secrets['ssid']
6363
self.password = secrets['password']
64-
self.ent_ssid = secrets['ent_ssid']
65-
self.ent_ident = secrets['ent_ident']
66-
self.ent_user = secrets['ent_user']
67-
self.ent_password = secrets['ent_password']
6864
self.attempts = attempts
6965
self._connection_type = connection_type
70-
requests.set_interface(self.esp)
66+
requests.set_interface(self._esp)
7167
self.statuspix = status_pixel
7268
self.pixel_status(0)
7369

0 commit comments

Comments
 (0)