Skip to content

Commit bb009af

Browse files
authored
Merge pull request #47 from sti320a/patch-1
Fix message from RuntimeError ("a" error -> "an" error)
2 parents 9b04575 + 42693c7 commit bb009af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_ccs811.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def __init__(self, i2c_bus, address=0x5A):
138138
# make sure there are no errors and we have entered application mode
139139
if self.error:
140140
raise RuntimeError(
141-
"Device returned a error! Try removing and reapplying power to "
141+
"Device returned an error! Try removing and reapplying power to "
142142
"the device and running the code again."
143143
)
144144
if not self.fw_mode:

0 commit comments

Comments
 (0)