merge json

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