Implementazione salvataggio su file #1

Merged
AndreStork merged 5 commits from filedump into main 2026-03-03 10:25:36 +00:00
Showing only changes of commit a249127121 - Show all commits

1
app.py
View File

@@ -63,6 +63,7 @@ def delete_compito(id):
for ciscomerda in compiti:
if ciscomerda["id"] == id:
compiti.remove(ciscomerda)
update_file()
return jsonify(ciscomerda), 200
update_file()
return jsonify([]), 404