Skip to content

Commit 3034250

Browse files
author
Melissa LeBlanc-Williams
committed
Fixed error introduced from Linting
1 parent 8be610c commit 3034250

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_esp32spi/adafruit_esp32spi_wifimanager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ class ESPSPI_WiFiManager:
3939
"""
4040
A class to help manage the Wifi connection
4141
"""
42-
def __init__(self, esp, settings, attempts=1, status_neopixel=None):
42+
def __init__(self, esp, settings, status_neopixel=None, attempts=1):
4343
"""
4444
:param ESP_SPIcontrol esp: The ESP object we are using
4545
:param dict settings: The WiFi and Adafruit IO Settings (See examples)
46-
:param attempts: (Optional) Failed attempts before resetting the ESP32 (default=3)
46+
:param int attempts: (Optional) Failed attempts before resetting the ESP32 (default=3)
4747
:param status_neopixel: (Optional) The neopixel pin - Usually board.NEOPIXEL (default=None)
4848
:type status_neopixel: Pin
4949
"""

0 commit comments

Comments
 (0)