From 4102b3dbd350119e7a41ab723662e092dcbb2ec4 Mon Sep 17 00:00:00 2001 From: "tobyrosen@gmail.com" Date: Mon, 19 Sep 2011 19:57:05 +0000 Subject: version 2.05. fixed fp variable alignment git-svn-id: http://pyp.googlecode.com/svn/trunk@210 8ebc04a2-01ca-80aa-3703-73c302266661 --- pyp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyp b/pyp index 95e02fc..3e8313c 100644 --- a/pyp +++ b/pyp @@ -1,6 +1,6 @@ #!/usr/bin/env python -#version 2.04 +#version 2.05 #author tobyrosen@gmail.com import optparse @@ -911,14 +911,14 @@ class Pyp(object): # file if options.text_file: try: - fp = file_input[self.n - 1] + fp = file_input[self.n] except IndexError: fp = '' presets['fp'] = fp # second stream try: - sp = second_stream_input[self.n - 1] + sp = second_stream_input[self.n] except IndexError: sp = '' -- cgit v1.3.1