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])