fix a totally unrelated bug
This commit is contained in:
parent
aaeaa74a0c
commit
64267bdc5b
@ -35,7 +35,7 @@ class led:
|
|||||||
self.animation_mode = const(config['animation_mode'])
|
self.animation_mode = const(config['animation_mode'])
|
||||||
self.animation_speed = const(config['animation_speed'])
|
self.animation_speed = const(config['animation_speed'])
|
||||||
self.breathe_center = const(config['breathe_center'])
|
self.breathe_center = const(config['breathe_center'])
|
||||||
if config['user_animation']:
|
if config.get('user_animation'):
|
||||||
self.user_animation = config['user_animation']
|
self.user_animation = config['user_animation']
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user