Omnibus commited on
Commit
d66f928
·
verified ·
1 Parent(s): 83db9c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -289,9 +289,9 @@ def find_rss():
289
  timestamp=str(datetime.datetime.now())
290
  timename=timestamp.replace(" ","--").replace(":","-").replace(".","-")
291
 
292
- #json_object = json.dumps(out_box, indent=4)
293
  with open("tmp1.json", "w") as outfile:
294
- outfile.write(out_box)
295
  api.upload_file(
296
  path_or_fileobj="tmp1.json",
297
  path_in_repo=f"/rss/{timename}.json",
 
289
  timestamp=str(datetime.datetime.now())
290
  timename=timestamp.replace(" ","--").replace(":","-").replace(".","-")
291
 
292
+ json_object = json.dumps(out_box[0], indent=4)
293
  with open("tmp1.json", "w") as outfile:
294
+ outfile.write(json_object)
295
  api.upload_file(
296
  path_or_fileobj="tmp1.json",
297
  path_in_repo=f"/rss/{timename}.json",