X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=rainbowstream%2Fc_image.py;h=e440d405e509b66ba0e4264ddff597e310cd32ec;hb=bef3349114b3a166456d48b33c47cb44130be04d;hp=154552d2d7105c3e8f39e143400c32a7e9e62c5f;hpb=b68e80f6d55d4d9f995403aefb2bd952ea5ebf43;p=rainbowstream.git diff --git a/rainbowstream/c_image.py b/rainbowstream/c_image.py index 154552d..e440d40 100644 --- a/rainbowstream/c_image.py +++ b/rainbowstream/c_image.py @@ -24,7 +24,7 @@ def pixel_print(ansicolor): sys.stdout.write('\033[48;5;%sm \033[0m' % (ansicolor)) -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 = c['IMAGE_SHIFT']