Skip to content

Commit

Permalink
Merge pull request #109 from kattni/import-fix
Browse files Browse the repository at this point in the history
Removing unnecessary import block.
  • Loading branch information
kattni authored Apr 7, 2021
2 parents a9ec639 + 6bc830f commit bdef506
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions neopixel.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,17 @@
`neopixel` - NeoPixel strip driver
====================================================
* Author(s): Damien P. George, Scott Shawcroft, Carter Nelson, Roy Hooper
* Author(s): Damien P. George, Scott Shawcroft, Carter Nelson, Rose Hooper
"""

# pylint: disable=ungrouped-imports
import sys
import digitalio
from neopixel_write import neopixel_write

if sys.implementation.version[0] < 5:
try:
import _pixelbuf
except ImportError:
import adafruit_pypixelbuf as _pixelbuf
else:
try:
import _pixelbuf
except ImportError:
import adafruit_pypixelbuf as _pixelbuf


__version__ = "0.0.0-auto.0"
Expand Down

0 comments on commit bdef506

Please sign in to comment.