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

update

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