Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEsteban 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)
commitc55d622d61be595bd2a436c56fd6691b9f08292b (patch)
treeb6ea2284123e6fc9f96e2b3b4976a4b5dd7eb588
parentc80e7322a19356056f1b335a513ebba2b9dd1f0c (diff)
arreglo en store.py
-rw-r--r--store.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/store.py b/store.py
index fd865fb..973ed27 100644
--- a/store.py
+++ b/store.py
@@ -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')