Omnibus commited on
Commit
ae19ada
·
1 Parent(s): 238f456

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -27,12 +27,12 @@ def tasks_json():
27
  def fix_json():
28
  with open("tasks.json", "r") as fix_file:
29
  for i, line in enumerate(fix_file.readlines()):
30
- print (line)
31
- line.replace("name:",'"name":')
32
- line.replace("modality:",'"modality":')
33
- line.replace("type:",'"type":')
34
- line.replace("subtasks:",'"subtasks":')
35
- line.replace("color:",'"color":')
36
 
37
- print (line)
38
  fix_json()
 
27
  def fix_json():
28
  with open("tasks.json", "r") as fix_file:
29
  for i, line in enumerate(fix_file.readlines()):
30
+ #print (line)
31
+ out = line.replace("name:",'"name":')
32
+ out = line.replace("modality:",'"modality":')
33
+ out = line.replace("type:",'"type":')
34
+ out = line.replace("subtasks:",'"subtasks":')
35
+ out = line.replace("color:",'"color":')
36
 
37
+ print (out)
38
  fix_json()