Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -117,7 +117,7 @@ def responsenew(data):
|
|
| 117 |
'name': 'defaulttodo',
|
| 118 |
'id': idval,
|
| 119 |
'subTasks': [{
|
| 120 |
-
'task':data.replace("add todo", "add to do"),
|
| 121 |
'done': False
|
| 122 |
}],
|
| 123 |
'shared': [],
|
|
@@ -132,7 +132,7 @@ def responsenew(data):
|
|
| 132 |
'title': 'defaultnote',
|
| 133 |
'id': idval,
|
| 134 |
'type': 'Note',
|
| 135 |
-
'description': data.replace("note down"),
|
| 136 |
'time': datetime.now().strftime("%d/%m/%Y"),
|
| 137 |
'mainTime': datetime.now().strftime("%I:%M %p"),
|
| 138 |
'complete': False,
|
|
|
|
| 117 |
'name': 'defaulttodo',
|
| 118 |
'id': idval,
|
| 119 |
'subTasks': [{
|
| 120 |
+
'task':data.replace("add todo", "").replace("add to do",""),
|
| 121 |
'done': False
|
| 122 |
}],
|
| 123 |
'shared': [],
|
|
|
|
| 132 |
'title': 'defaultnote',
|
| 133 |
'id': idval,
|
| 134 |
'type': 'Note',
|
| 135 |
+
'description': data.replace("note down",""),
|
| 136 |
'time': datetime.now().strftime("%d/%m/%Y"),
|
| 137 |
'mainTime': datetime.now().strftime("%I:%M %p"),
|
| 138 |
'complete': False,
|