diff options
author | Esteban Bordon <ebordon@plan.ceibal.edu.uy> | 2012-04-26 11:57:19 (GMT) |
---|---|---|
committer | Esteban Bordon <ebordon@plan.ceibal.edu.uy> | 2012-04-26 11:57:19 (GMT) |
commit | c55d622d61be595bd2a436c56fd6691b9f08292b (patch) | |
tree | b6ea2284123e6fc9f96e2b3b4976a4b5dd7eb588 | |
parent | c80e7322a19356056f1b335a513ebba2b9dd1f0c (diff) |
arreglo en store.py
-rw-r--r-- | store.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -81,7 +81,7 @@ CREATE TABLE IF NOT EXISTS notifications (id INTEGER PRIMARY KEY,title VARCHAR(3 c = con.cursor() c.execute('BEGIN TRANSACTION') try: - c.execute('update notifications set fav=%i where id=%i' %(int(fav),id)) + c.execute('update notifications set fav=%i where id=%i' %(int(fav),id_msg)) except sqlite3.IntegrityError,e: print "Error al eliminar datos: %s" %str(e) c.execute('END TRANSACTION') |