+4
-1
scripts/moderation_loop.py
+4
-1
scripts/moderation_loop.py
···
253
253
254
254
if not dry_run:
255
255
batch = await mod.create_batch(human_uris, created_by="moderation_loop")
256
-
msg = f"{get_header(env)} {batch['flag_count']} need review:\n{batch['url']}"
256
+
full_url = f"{mod.base_url.rstrip('/')}{batch['url']}"
257
+
msg = (
258
+
f"{get_header(env)} {batch['flag_count']} need review:\n{full_url}"
259
+
)
257
260
await dm.send(msg)
258
261
console.print(f"[green]sent batch {batch['id']}[/green]")
259
262
else: