From 64267bdc5ba149fe4edbc819087dee827b57b258 Mon Sep 17 00:00:00 2001 From: Josh Klar Date: Wed, 24 Jul 2019 23:15:57 -0700 Subject: [PATCH] fix a totally unrelated bug --- kmk/led.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmk/led.py b/kmk/led.py index 4d0e14c..9921ad1 100644 --- a/kmk/led.py +++ b/kmk/led.py @@ -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):