fix a totally unrelated bug

This commit is contained in:
Josh Klar 2019-07-24 23:15:57 -07:00
parent aaeaa74a0c
commit 64267bdc5b
No known key found for this signature in database
GPG Key ID: A4A0C7B4E8EEE222

View File

@ -35,7 +35,7 @@ class led:
self.animation_mode = const(config['animation_mode'])
self.animation_speed = const(config['animation_speed'])
self.breathe_center = const(config['breathe_center'])
if config['user_animation']:
if config.get('user_animation'):
self.user_animation = config['user_animation']
def __repr__(self):