Commit 95c6d9e8 authored by Francesco Poldi's avatar Francesco Poldi Committed by GitHub

Update db.py

parent 872a04b9
......@@ -247,7 +247,7 @@ def tweets(conn, Tweet, config):
Tweet.quote_url,
Tweet.video,
time_ms)
cursor.execute('INSERT INTO tweets VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)', entry)
cursor.execute('INSERT INTO tweets VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)', entry)
if config.Favorites:
query = 'INSERT INTO favorites VALUES(?,?)'
......@@ -259,4 +259,4 @@ def tweets(conn, Tweet, config):
conn.commit()
except sqlite3.IntegrityError:
pass
\ No newline at end of file
pass
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment