semihangin commited on
Commit
3ad376d
·
verified ·
1 Parent(s): e8a77e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def task_manager(action: str, task_data: str = "") -> str:
26
  # File to store task data
27
  TASKS_FILE = "tasks.json"
28
 
29
- # Create an empty task list if the file doesn't exist
30
  if not os.path.exists(TASKS_FILE):
31
  with open(TASKS_FILE, "w") as f:
32
  json.dump({"tasks": []}, f)
 
26
  # File to store task data
27
  TASKS_FILE = "tasks.json"
28
 
29
+ # Create an empty task list
30
  if not os.path.exists(TASKS_FILE):
31
  with open(TASKS_FILE, "w") as f:
32
  json.dump({"tasks": []}, f)