Commit 2805110a authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

update

parent 04986077
...@@ -11,7 +11,7 @@ def main(argv): ...@@ -11,7 +11,7 @@ def main(argv):
else: else:
jsonFile=open(argv[1]).read() jsonFile=open(argv[1]).read()
cfg = json.loads(jsonFile) cfg = json.loads(jsonFile)
return cfg[argv[2]] print ( cfg[argv[2]])
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
if __name__ == "__main__": if __name__ == "__main__":
main(sys.argv) main(sys.argv)
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