mirror of
https://github.com/csd4ni3l/grass_touching_captcha.git
synced 2026-01-01 04:23:45 +01:00
fix grass touch submitting not working due to missing set keyword
This commit is contained in:
4
main.py
4
main.py
@@ -99,8 +99,8 @@ def submit_grass_touching():
|
||||
|
||||
cur = get_db().cursor()
|
||||
|
||||
cur.execute("UPDATE Users grass_touching_count = grass_touching_count + 1 WHERE username = ?", (username,))
|
||||
cur.execute("UPDATE Users last_grass_touch_time = ? WHERE username = ?", (time.time(), username))
|
||||
cur.execute("UPDATE Users SET grass_touching_count = grass_touching_count + 1 WHERE username = ?", (username,))
|
||||
cur.execute("UPDATE Users SET last_grass_touch_time = ? WHERE username = ?", (time.time(), username))
|
||||
|
||||
get_db().commit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user