fix: no import-time side effects, env-driven paths, shim dead-logic, smoke test
This commit is contained in:
@@ -24,7 +24,7 @@ from flow import solve_captcha
|
||||
API = "https://api.minara.ai"
|
||||
INVITE = os.environ.get("MINARA_INVITE", "UM9Y8P")
|
||||
PROXIES = [p.strip() for p in os.environ.get("MINARA_PROXY_POOL", "").split(",") if p.strip()]
|
||||
IMAPMAP_PATH = os.environ.get("MINARA_IMAPMAP", "discovered_imap.json")
|
||||
IMAPMAP_PATH = os.environ.get("MINARA_IMAPMAP") or os.path.join(HERE, "discovered_imap.json")
|
||||
IMAPMAP = json.load(open(IMAPMAP_PATH)) if os.path.exists(IMAPMAP_PATH) else {}
|
||||
POP_HOSTS = {"rediffmail.com": ("pop.rediffmail.com", 995)}
|
||||
BANK = os.environ.get("MINARA_BANK", HERE + "/bank.jsonl")
|
||||
|
||||
Reference in New Issue
Block a user