rivapereira123 commited on
Commit
1b10fa4
·
verified ·
1 Parent(s): ceeb314

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -29,6 +29,8 @@ def parse_email(raw_email):
29
  return {"timestamp": str(datetime.now()), "data": "..."}
30
 
31
  if __name__ == "__main__":
 
32
  reports = fetch_emails()
33
  with open("shift_reports.json", "w") as f:
34
- json.dump(reports, f)
 
 
29
  return {"timestamp": str(datetime.now()), "data": "..."}
30
 
31
  if __name__ == "__main__":
32
+ print("===== Starting script manually =====")
33
  reports = fetch_emails()
34
  with open("shift_reports.json", "w") as f:
35
+ json.dump(reports, f, indent=4)
36
+ print("===== Script finished =====")