From 23d3496e8b975804a2639972fe2ec9bb17bb73b4 Mon Sep 17 00:00:00 2001 From: yo momma Date: Wed, 4 Feb 2026 18:25:45 +0000 Subject: Rebrand: HUMPFM env vars + salts --- scripts/fill.image_altars.py | 2 +- scripts/fill.image_urls.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/fill.image_altars.py b/scripts/fill.image_altars.py index 1181214..3d248a1 100755 --- a/scripts/fill.image_altars.py +++ b/scripts/fill.image_altars.py @@ -27,7 +27,7 @@ def add_altar(message_id, user_id, content): except postgresql.exceptions.UniqueError: print("skipped adding a dupe") -# NOTE. hardcoded room numbers to index here... only indexing DUMPFM (1) and GIF (8) currently. +# NOTE: hardcoded room numbers to index here... only indexing HUMPFM (1) and GIF (8) currently. def get_messages(): ps = db.prepare("SELECT message_id, user_id, content FROM messages WHERE message_id >= $1 AND message_id <= $2 AND room_id IN (1,8) ORDER BY message_id ASC") return ps.chunks diff --git a/scripts/fill.image_urls.py b/scripts/fill.image_urls.py index d3a10de..a7c518b 100755 --- a/scripts/fill.image_urls.py +++ b/scripts/fill.image_urls.py @@ -29,7 +29,7 @@ def add_url(url): ps2 = db.prepare("INSERT INTO image_urls(url) VALUES($1)") ps2(url) -# NOTE. hardcoded room numbers to index here... only indexing DUMPFM (1) and GIF (8) currently. +# NOTE: hardcoded room numbers to index here... only indexing HUMPFM (1) and GIF (8) currently. def get_messages(lower, upper): ps = db.prepare("SELECT content FROM messages WHERE message_id >= $1 AND message_id <= $2 AND room_id IN (1,8) ORDER BY message_id ASC") rows = ps(lower, upper) -- cgit v1.2.3-70-g09d2