diff options
| author | yo momma <shutup@oops.wtf> | 2026-02-04 18:25:45 +0000 |
|---|---|---|
| committer | yo momma <shutup@oops.wtf> | 2026-02-04 18:25:45 +0000 |
| commit | 23d3496e8b975804a2639972fe2ec9bb17bb73b4 (patch) | |
| tree | 06b1be51c4c8e820dd5a2ef4206275c3829837d0 /scripts | |
| parent | 120b42a2305c0a01069c8268aa9a2866923cb9ea (diff) | |
Rebrand: HUMPFM env vars + salts
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/fill.image_altars.py | 2 | ||||
| -rwxr-xr-x | scripts/fill.image_urls.py | 2 |
2 files changed, 2 insertions, 2 deletions
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) |
