Skip to content

Commit

Permalink
Merge pull request #4 from vejuhust/fix
Browse files Browse the repository at this point in the history
Fix Issue #3 - Blink(1) device not released after being closed
  • Loading branch information
todbot authored Apr 19, 2018
2 parents 60e89c4 + 68b71af commit caf6545
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blink1/blink1.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def __init__(self, serial_number=None, gamma=None, white_point=None):
self.dev = self.find(serial_number)

def close(self):
self.dev.close()
self.dev = None

@staticmethod
Expand Down

0 comments on commit caf6545

Please sign in to comment.