projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
956e113
)
interfaces/python/demo_sink.py: fix number of arguments
author
Paul Brossier
<piem@piem.org>
Wed, 3 Oct 2012 20:31:34 +0000
(14:31 -0600)
committer
Paul Brossier
<piem@piem.org>
Wed, 3 Oct 2012 20:31:34 +0000
(14:31 -0600)
interfaces/python/demo_sink.py
patch
|
blob
|
history
diff --git
a/interfaces/python/demo_sink.py
b/interfaces/python/demo_sink.py
index 230a28de6a91735b1bb5adddc0b93301d7ffe937..6226650e9aeed9eef1ef73b112c7d01dd9a54aef 100755
(executable)
--- 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 <inputfile> <outputfile>' % sys.argv[0]
sys.exit(1)
f = source(sys.argv[1], 8000, 256)