1
0
mirror of https://github.com/pyscript/pyscript.git synced 2022-05-01 19:47:48 +03:00

remove unused import

This commit is contained in:
Fabio Pliger
2022-04-13 09:48:37 -05:00
parent f79d76c542
commit a9e1b7c5d6
3 changed files with 2 additions and 4 deletions

View File

@@ -12,7 +12,6 @@ new_task_content = Element("new-task-content")
def add_task(*ags, **kws):
# create task
task_id = f"task-{len(tasks)}"
now = dt.now()
task = {"id": task_id, "content": new_task_content.element.value, "done": False, "created_at": dt.now()}
tasks.append(task)