fix bug setup.py
[rainbowstream.git] / rainbowstream / pure_image.py
index 87b9f1bf1e5c6d4383629ab3eab551362207d513..b3139bb18563a97bb9c8af8abf719f2c0c324bc4 100644 (file)
@@ -8,7 +8,7 @@ import os
 """
 This file is borrowed from following gist:
 https://gist.github.com/MicahElliott/719710
-It's too slow in compare with C program, so bot be used here
+It's too slow in compare with C program.
 """
 
 CLUT = [  # color look-up table
@@ -316,7 +316,7 @@ def rgb2short(r, g, b):
     return RGB2SHORT_DICT[rgb_to_hex(m)]
 
 
-def image_to_display(path,start=None,length=None):
+def image_to_display(path, start=None, length=None):
     rows, columns = os.popen('stty size', 'r').read().split()
     if not start:
         start = IMAGE_SHIFT