Fr3deric 8 years ago committed by Frederic
parent
commit
a752ac1b37
  1. 3
      blup/output.py

3
blup/output.py

@ -354,7 +354,8 @@ class BlinkenbuntHDOutput(Output):
@classmethod @classmethod
def fromRegexMatch(cls, regexMatch): 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): def sendFrame(self, frame):
for y in range(self.h): for y in range(self.h):

Loading…
Cancel
Save