From a752ac1b37580ff9491d7620926bf7c2705216a9 Mon Sep 17 00:00:00 2001 From: Frederic Date: Mon, 26 Dec 2016 22:13:30 +0100 Subject: [PATCH] fix --- blup/output.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/blup/output.py b/blup/output.py index 0cd809a..0aacff6 100644 --- a/blup/output.py +++ b/blup/output.py @@ -354,7 +354,8 @@ class BlinkenbuntHDOutput(Output): @classmethod def fromRegexMatch(cls, regexMatch): - return cls(brightness=regexMatch.groupdict().get('brightness', 50)) + b = int(regexMatch.groupdict().get('brightness', 50)) + return cls(brightness=b) def sendFrame(self, frame): for y in range(self.h):