summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortobyrosen@gmail.com <tobyrosen@gmail.com@8ebc04a2-01ca-80aa-3703-73c302266661>2011-09-19 19:57:05 +0000
committertobyrosen@gmail.com <tobyrosen@gmail.com@8ebc04a2-01ca-80aa-3703-73c302266661>2011-09-19 19:57:05 +0000
commit4102b3dbd350119e7a41ab723662e092dcbb2ec4 (patch)
treedc5f6527e9fb0638926fca3978e86e17a7c18a5e
parent708622e4c8831cb53a87afe1b4230292a8328691 (diff)
version 2.05. fixed fp variable alignment
git-svn-id: http://pyp.googlecode.com/svn/trunk@210 8ebc04a2-01ca-80aa-3703-73c302266661
-rw-r--r--pyp6
1 files 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 = ''