Mercurial > kraina_muminkow
diff frontend/mfrontend/db.py @ 29:28eb82047167
Ukończona strona klienta
author | mild@mild-laptop |
---|---|
date | Sun, 05 Jun 2011 23:09:18 +0200 |
parents | 3a26da290650 |
children |
line wrap: on
line diff
--- a/frontend/mfrontend/db.py Mon May 23 12:49:48 2011 +0200 +++ b/frontend/mfrontend/db.py Sun Jun 05 23:09:18 2011 +0200 @@ -171,7 +171,7 @@ for key in keys: if key in options: query_db("UPDATE jobs SET " + key + " = :value WHERE id = :id", - {"value":options[key],"id":job_id}) + {"value":options["state"],"id":job_id}) g.db.commit() def get_user_name(user_id):