merge json

parent 519f37ce
...@@ -19,6 +19,7 @@ def main(argv): ...@@ -19,6 +19,7 @@ def main(argv):
with open(argv[1]+f) as ff: with open(argv[1]+f) as ff:
json_data = json.load(ff) json_data = json.load(ff)
json_data['date']=f[:f.find("_")]
print(json_data) print(json_data)
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
......
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