Nikhil0987 commited on
Commit
13cdb83
·
1 Parent(s): b4c6852

Update remainder.py

Browse files
Files changed (1) hide show
  1. remainder.py +2 -2
remainder.py CHANGED
@@ -27,7 +27,7 @@ def rem():
27
 
28
  }
29
 
30
- def saved_data():
31
  with open ("database/data.json")as file:
32
  data =json.load(file)
33
  allreminder = data["reminders"]
@@ -39,5 +39,5 @@ def saved_data():
39
  json.dump(data,file,indent=4)
40
 
41
 
42
- st.button("Save",on_click=saved_data)
43
 
 
27
 
28
  }
29
 
30
+ def save_data():
31
  with open ("database/data.json")as file:
32
  data =json.load(file)
33
  allreminder = data["reminders"]
 
39
  json.dump(data,file,indent=4)
40
 
41
 
42
+ st.button("Save",on_click=save_data)
43