summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/integrate-redis-stats.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/integrate-redis-stats.py b/tools/integrate-redis-stats.py
index dcc103d..771b8a2 100755
--- a/tools/integrate-redis-stats.py
+++ b/tools/integrate-redis-stats.py
@@ -55,8 +55,8 @@ cursor.executemany(
"UPDATE release_files SET downloads = downloads + %s WHERE filename = %s",
downloads,
)
-cursor.commit()
-cursor.close()
+store.commit()
+store.close()
# Add this to our integrated set
redis.sadd("downloads:integrated", search)