Fix column name
This commit is contained in:
parent
f39d6aefa6
commit
057dc64a49
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