Permalink
Browse files

reindentation fail

  • Loading branch information...
phooky committed Jun 25, 2013
1 parent 920767c commit 8af9fd79e80d296148dd333ab5c7904686137d3d
Showing with 2 additions and 1 deletion.
  1. +2 −1 hexaservice/led_panel.py
View
@@ -20,7 +20,8 @@ def compile_image(img, x=0, y=0):
for j in range(height):
if img.getpixel(( i+x, j+y )):
b |= 1 << (7-j)
- bitmap = bitmap + struct.pack("B",b)
+ bitmap = bitmap + struct.pack("B",b)
+ print width, height, len(bitmap)
return bitmap
class Panel:

0 comments on commit 8af9fd7

Please sign in to comment.