Commit 04986077 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

update

parent 93ec1088
......@@ -6,8 +6,8 @@ import json
#-------------------------------------------------------------------------------
def main(argv):
if len(sys.argv) != 2:
print("Usage: " + argv[0] + "<JSON File> <Field>")
if len(sys.argv) != 3:
print("Usage: " + argv[0] + " <JSON File> <Field>")
else:
jsonFile=open(argv[1]).read()
cfg = json.loads(jsonFile)
......
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