From 66e69340e6b60bd51c09ffddcd2e166373d18374 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Wed, 3 Oct 2012 14:31:34 -0600 Subject: [PATCH] interfaces/python/demo_sink.py: fix number of arguments --- interfaces/python/demo_sink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/python/demo_sink.py b/interfaces/python/demo_sink.py index 230a28de..6226650e 100755 --- a/interfaces/python/demo_sink.py +++ b/interfaces/python/demo_sink.py @@ -4,7 +4,7 @@ import sys from aubio import source, sink if __name__ == '__main__': - if len(sys.argv) < 2: + if len(sys.argv) < 3: print 'usage: %s ' % sys.argv[0] sys.exit(1) f = source(sys.argv[1], 8000, 256) -- 2.11.0