Skip to content

Commit

Permalink
Fix issue with non-projects
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Ritchford committed Jan 2, 2019
1 parent a64fe80 commit 9797496
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bibliopixel/drivers/driver_base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from . channel_order import ChannelOrder
from .. colors import gamma as _gamma
from .. project import attributes, data_maker, fields
from .. project import attributes, clock, data_maker, fields
import threading, time


Expand Down Expand Up @@ -66,6 +66,7 @@ def __init__(self, num=0, width=0, height=0, c_order="RGB",
self.brightness_lock = threading.Lock()
self._brightness = 255
self._waiting_brightness = None
self.clock = clock.Clock()

def set_pixel_positions(self, pixel_positions):
"""
Expand Down

0 comments on commit 9797496

Please sign in to comment.