summaryrefslogtreecommitdiff
path: root/scripts/fix_fav_counts.py
diff options
context:
space:
mode:
authoryo momma <shutup@oops.wtf>2026-02-03 22:05:50 +0000
committeryo momma <shutup@oops.wtf>2026-02-03 22:05:50 +0000
commita5e72f0fbdedf251e90334657856f07bca725be0 (patch)
tree2b71e48a1e07b0f4f0edcb8a154769b4069dbf98 /scripts/fix_fav_counts.py
parent36202d8defb26f87264914f60c39c768cff3729e (diff)
Hump.fm: update configs and scripts
Diffstat (limited to 'scripts/fix_fav_counts.py')
-rwxr-xr-xscripts/fix_fav_counts.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/fix_fav_counts.py b/scripts/fix_fav_counts.py
index 0472488..2d6660a 100755
--- a/scripts/fix_fav_counts.py
+++ b/scripts/fix_fav_counts.py
@@ -28,7 +28,7 @@ import postgresql
import redis
import csv
-db = postgresql.open("pq://postgres:root@localhost/dumpfm")
+db = postgresql.open("pq://postgres:root@localhost/humpfm")
db.execute("SET CLIENT_ENCODING to 'UNICODE'")
r = redis.Redis("192.168.156.111")
@@ -110,4 +110,3 @@ if __name__ == "__main__":
load_faves_by_user()
load_faves_by_date()
print("done!")
-