Hack to get around Travis issue with importing BLACK
This commit is contained in:
parent
1afda28f47
commit
1960fc0166
2 changed files with 4 additions and 0 deletions
|
|
@ -27,6 +27,8 @@ trellis = adafruit_trellism4.TrellisM4Express(rotation=0)
|
||||||
SELECTED_COLOR = WHITE # the color for the selected sample
|
SELECTED_COLOR = WHITE # the color for the selected sample
|
||||||
SAMPLE_FOLDER = '/samples/' # the name of the folder containing the samples
|
SAMPLE_FOLDER = '/samples/' # the name of the folder containing the samples
|
||||||
SAMPLES = []
|
SAMPLES = []
|
||||||
|
BLACK = 0x000000
|
||||||
|
|
||||||
|
|
||||||
# load the sound & color specifications
|
# load the sound & color specifications
|
||||||
with open('soundboard.txt', 'r') as f:
|
with open('soundboard.txt', 'r') as f:
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,8 @@ from bird import Bird
|
||||||
from post import Post
|
from post import Post
|
||||||
from color_names import *
|
from color_names import *
|
||||||
|
|
||||||
|
BLACK = 0x000000
|
||||||
|
|
||||||
class Game(object):
|
class Game(object):
|
||||||
"""Overall game control."""
|
"""Overall game control."""
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue