commit | d15a0a05d3161930928355e0b89091994bc54ee5 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Fri Apr 05 18:09:22 2002 +0000 |
committer | Fred Drake <fdrake@acm.org> | Fri Apr 05 18:09:22 2002 +0000 |
tree | 2d285bde0f5cb350e241ec9495a37fbbfc771c70 | |
parent | e03e1fe5ccabbc140483550ba6648dcd110b792b [diff] |
Fix bug in command line handling, noted by Fredrik Lundh.
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 @@ 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])