Script small error when given action is wrong

This commit is contained in:
bsongis
2015-03-16 19:03:54 +01:00
parent 51ea69edcd
commit 7863bb23b9
+3 -2
View File
@@ -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])