mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
fix unregister sql error
This commit is contained in:
parent
dc0cfdf001
commit
3313c776ab
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ def getPendingMsgs( con, typ ):
|
|||
def unregister( gcmid ):
|
||||
global g_con
|
||||
print "unregister(", gcmid, ")"
|
||||
query = "UPDATE devices SET unreg=TRUE WHERE id = '%s'" % gcmid
|
||||
query = "UPDATE devices SET unreg=TRUE WHERE devid = '%s'" % gcmid
|
||||
g_con.cursor().execute( query )
|
||||
|
||||
def asGCMIds(con, devids, typ):
|
||||
|
|
Loading…
Add table
Reference in a new issue