# HG changeset patch # User Michał Rudowicz # Date 1302510176 -7200 # Node ID b75a9ae3a060ad9f82d04f1c1987b86c3489fa01 # Parent 9a45dfaec15784c7e0756cf43ecac464ea937347 Poprawiony błąd przy edycji zadań przez POST diff -r 9a45dfaec157 -r b75a9ae3a060 frontend/mfrontend/db.py --- a/frontend/mfrontend/db.py Mon Apr 11 09:50:23 2011 +0200 +++ b/frontend/mfrontend/db.py Mon Apr 11 10:22:56 2011 +0200 @@ -168,7 +168,7 @@ for key in keys: if key in options: query_db("UPDATE jobs SET " + key + " = :value WHERE id = :id", - {"value":options["state"],"id":job_id}) + {"value":options[key],"id":job_id}) g.db.commit() def get_user_name(user_id):