Skip to content

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

fix: initialize OpenClaw poll timing once

Dinakar Sarbadaecf68347dbda
diff --git a/skills/last30days/scripts/lib/setup_wizard.py b/skills/last30days/scripts/lib/setup_wizard.py
index 4818a80f..918c82c9 100644
--- a/skills/last30days/scripts/lib/setup_wizard.py
+++ b/skills/last30days/scripts/lib/setup_wizard.py
@@ -335,8 +335,9 @@ def poll_device_auth(
"""
import sys
- deadline = time.time() + timeout
- last_reminder = time.time()
+ started_at = time.time()
+ deadline = started_at + timeout
+ last_reminder = started_at
reminder_count = 0
max_reminders = 4
reminder_interval = 30 # seconds between reminders