From b3c493cdd87b6a0f183893e3c5b71844dbb6e995 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 4 Nov 1991 18:14:23 +0000 Subject: Fix third arg (audio skip). --- Demo/sgi/video/video.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Demo/sgi/video/video.py b/Demo/sgi/video/video.py index 7c34e7a..df74d00 100755 --- a/Demo/sgi/video/video.py +++ b/Demo/sgi/video/video.py @@ -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() -- cgit v0.12