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

3
blup/output.py

@ -354,7 +354,8 @@ class BlinkenbuntHDOutput(Output): @@ -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):

Loading…
Cancel
Save