diff options
Diffstat (limited to 'fetch-status.py')
-rwxr-xr-x | fetch-status.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fetch-status.py b/fetch-status.py index 286ffd3..89abc1e 100755 --- a/fetch-status.py +++ b/fetch-status.py @@ -109,5 +109,5 @@ elif post_body is None: check_status = "mystery" if not cached_result: - cur.execute("INSERT INTO statuses VALUES(?,?,?,?)", (profile_id, post_body, time.time(), check_status)) + cur.execute("INSERT OR REPLACE INTO statuses VALUES(?,?,?,?)", (profile_id, post_body, time.time(), check_status)) con.commit() |