commit 6f329193db26e258447cf4cc64a36c5082b5d4cf
parent e82ecefe8d95281cb395c131db7bc1f0df50e47b
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Fri, 6 Sep 2019 00:49:47 +0200
make debug a flag
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/splitw.py b/splitw.py
@@ -47,7 +47,7 @@ parser.add_argument("--minchunk",
type=float, default=20)
parser.add_argument("--debug",
help="write debug image",
- type=bool, default=False)
+ action='store_true')
args = parser.parse_args()
img = imageio.imread(args.filename)