From a834d59795bd79a20241e3678d959f492b60d6e6 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 17 Apr 2012 12:29:34 -0400 Subject: [PATCH] 'channels' default should be a list in pycomedi_demo_args.py. --- doc/demo/pycomedi_demo_args.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/demo/pycomedi_demo_args.py b/doc/demo/pycomedi_demo_args.py index 4c797ad..620cf7d 100644 --- a/doc/demo/pycomedi_demo_args.py +++ b/doc/demo/pycomedi_demo_args.py @@ -39,7 +39,7 @@ ARGUMENTS = { 'channels':( ['-c', '--channels'], {'type':lambda x: [int(i) for i in x.split(',')], - 'default':0, + 'default':[0], 'help':'comma-separated channels for analog input/output'}), 'aref':( ['-a', '--analog-reference'], -- 2.26.2