Commit 4da44a10 authored by Guido van Rossum's avatar Guido van Rossum

Fix third arg (audio skip).

parent ffa8b6e0
......@@ -95,10 +95,9 @@ def main():
af = open(audiofilename, 'r')
spkr = openspkr()
afskip = 0
if len(sys.argv) > 3:
afskip = eval(sys.argv[3])
if afskip > 0:
af.seek(afskip)
if args[2:]:
afskip = eval(args[2])
af.seek(afskip)
else:
af, spkr = None, None
foreground()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment