From 7863bb23b94634414ae1d3afdff0c4db663bd42a Mon Sep 17 00:00:00 2001 From: bsongis Date: Mon, 16 Mar 2015 19:03:54 +0100 Subject: [PATCH] Script small error when given action is wrong --- radio/util/img2lbm.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/radio/util/img2lbm.py b/radio/util/img2lbm.py index b230c9370..83e151d98 100644 --- a/radio/util/img2lbm.py +++ b/radio/util/img2lbm.py @@ -126,6 +126,7 @@ elif what == "22x38": if image.pixel(x, y+l+z) == Qt.qRgb(0, 0, 0): value += 1 << z f.write("0x%02x," % value) - f.write("\n") + f.write("\n") else: - print("wrong argument", sys.argv[3]) + print("wrong argument", sys.argv[4]) +