Fix column name
This commit is contained in:
parent
2cd04559c1
commit
64829d57ab
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
import argparse, dbtools, setuptools, twitools
|
||||
|
||||
def getSavepoint(db, user):
|
||||
db.executeQuery("SELECT MAX(tweet_id) FROM retweets WHERE LOWER(author) = '%s'" % user.lower())
|
||||
db.executeQuery("SELECT MAX(id) FROM retweets WHERE LOWER(author) = '%s'" % user.lower())
|
||||
try:
|
||||
return int(db.getNext()[0])
|
||||
except:
|
||||
|
|
Loading…
Reference in a new issue