'channels' default should be a list in pycomedi_demo_args.py.
authorW. Trevor King <wking@drexel.edu>
Tue, 17 Apr 2012 16:29:34 +0000 (12:29 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 17 Apr 2012 16:35:41 +0000 (12:35 -0400)
doc/demo/pycomedi_demo_args.py

index 4c797ad1a911d6816f385be401379a47614b7043..620cf7da93037773c8c5ea44173a037978481da0 100644 (file)
@@ -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'],