Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,6 +24,7 @@ def tasks_json():
|
|
| 24 |
|
| 25 |
print("Before Pretty Printing JSON Data")
|
| 26 |
print(tasks)
|
|
|
|
| 27 |
def fix_json():
|
| 28 |
new_json=[]
|
| 29 |
with open("tasks.json", "r") as fix_file:
|
|
@@ -73,4 +74,3 @@ def fix_json():
|
|
| 73 |
pass
|
| 74 |
if line.strip():
|
| 75 |
print (line)
|
| 76 |
-
fix_json()
|
|
|
|
| 24 |
|
| 25 |
print("Before Pretty Printing JSON Data")
|
| 26 |
print(tasks)
|
| 27 |
+
tasks_json()
|
| 28 |
def fix_json():
|
| 29 |
new_json=[]
|
| 30 |
with open("tasks.json", "r") as fix_file:
|
|
|
|
| 74 |
pass
|
| 75 |
if line.strip():
|
| 76 |
print (line)
|
|
|