merge json

parent 599e1b2f
...@@ -16,7 +16,7 @@ def main(argv): ...@@ -16,7 +16,7 @@ def main(argv):
jsonList = list() jsonList = list()
for f in dirList: for f in dirList:
print(f) print(f)
jsonFile=json.load(open(argv[1]+f).read()) jsonFile=json.load(open(argv[1]+f))
jsonFile['date'] = f[:f.find("_")] jsonFile['date'] = f[:f.find("_")]
# append(jsonFile) # append(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