fix uri extraction of simple parser

parent 24561f3e
......@@ -1428,7 +1428,7 @@ def mainFunction(mainFileDescription,
elif arg == "--uri":
if ii >= len(sys.argv):
raise Exception("missing uri after --uri")
uri = arg
uri = sys.argv[ii]
ii += 1
elif fileToParse is None:
fileToParse = arg
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment