diff options
author | Fred Drake <fdrake@acm.org> | 2002-04-05 18:09:22 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-04-05 18:09:22 (GMT) |
commit | d15a0a05d3161930928355e0b89091994bc54ee5 (patch) | |
tree | 2d285bde0f5cb350e241ec9495a37fbbfc771c70 /Doc | |
parent | e03e1fe5ccabbc140483550ba6648dcd110b792b (diff) | |
download | cpython-d15a0a05d3161930928355e0b89091994bc54ee5.zip cpython-d15a0a05d3161930928355e0b89091994bc54ee5.tar.gz cpython-d15a0a05d3161930928355e0b89091994bc54ee5.tar.bz2 |
Fix bug in command line handling, noted by Fredrik Lundh.
Diffstat (limited to 'Doc')
-rwxr-xr-x | Doc/tools/sgmlconv/latex2esis.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/sgmlconv/latex2esis.py b/Doc/tools/sgmlconv/latex2esis.py index 5bfc748..38b6e49 100755 --- a/Doc/tools/sgmlconv/latex2esis.py +++ b/Doc/tools/sgmlconv/latex2esis.py @@ -548,7 +548,7 @@ def main(): ifp = sys.stdin ofp = sys.stdout elif len(args) == 1: - ifp = open(args) + ifp = open(args[0]) ofp = sys.stdout elif len(args) == 2: ifp = open(args[0]) |