Skip to content

Commit f6b151f

Browse files
author
Your Name
committed
fixed bad whitespace
1 parent cfafe15 commit f6b151f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Adafruit_MCP230xx/Adafruit_MCP230xx.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ class Adafruit_MCP230XX(object):
4040
OUTPUT = 0
4141
INPUT = 1
4242

43-
def __init__(self, address, num_gpios, busnum = 0):
44-
assert num_gpios >= 0 and num_gpios <= 16, "Number of GPIOs must be between 0 and 16"
45-
self.i2c = Adafruit_I2C(address=address, bus=smbus.SMBus(busnum))
43+
def __init__(self, address, num_gpios, busnum = 0):
44+
assert num_gpios >= 0 and num_gpios <= 16, "Number of GPIOs must be between 0 and 16"
45+
self.i2c = Adafruit_I2C(address=address, bus=smbus.SMBus(busnum))
4646
self.address = address
4747
self.num_gpios = num_gpios
4848

0 commit comments

Comments
 (0)