create initial seen_tweets entry
parent
208a6181a4
commit
4c6fea428c
2
user.py
2
user.py
|
@ -286,6 +286,8 @@ schlitz
|
||||||
user_id, client_id, client_secret
|
user_id, client_id, client_secret
|
||||||
) VALUES(?, ?, ?);""",
|
) VALUES(?, ?, ?);""",
|
||||||
(self.uid, access_token, access_token_secret))
|
(self.uid, access_token, access_token_secret))
|
||||||
|
db.execute("""INSERT INTO seen_tweets(user_id, tweet_id) VALUES (?, ?);""",
|
||||||
|
(self.uid, 0))
|
||||||
db.commit()
|
db.commit()
|
||||||
|
|
||||||
def get_twitter_token(self):
|
def get_twitter_token(self):
|
||||||
|
|
Loading…
Reference in New Issue