publishers_26.py 281 B

1234567
  1. def update_meta(self, meta, args):
  2. print("Updating Meta")
  3. meta_file_handle = open(args.meta_file, "w")
  4. json.dump(meta, meta_file_handle, cls=JSONEncoder, sort_keys=True, indent=4)
  5. meta_file_handle.close()
  6. self.patch("contentupload", args.upload_id, meta=meta)