Commit 978d4eb6 authored by Francesco Poldi's avatar Francesco Poldi

Fixed typo

parent 4fbe0f6e
...@@ -74,7 +74,7 @@ def following(conn, user, follow): ...@@ -74,7 +74,7 @@ def following(conn, user, follow):
date_time = str(datetime.datetime.now()) date_time = str(datetime.datetime.now())
cursor = conn.cursor() cursor = conn.cursor()
entry = (user, date_time, follow,) entry = (user, date_time, follow,)
cursor.execute('INSERT INTO following VALUE(?,?,?)', entry) cursor.execute('INSERT INTO following VALUES(?,?,?)', entry)
conn.commit() conn.commit()
except sqlite3.IntegrityError: except sqlite3.IntegrityError:
pass 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