Docs: correct PlatformConfig overlay scope (credentials never pass through the factory)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VPNF37MP9Kuv62B1VBrZ1b
This commit is contained in:
+3
-5
@@ -113,11 +113,9 @@ _CHANNEL_ID_RAW = telegram_channel_id()
|
||||
CHANNEL_ID: Optional[int] = int(_CHANNEL_ID_RAW) if _CHANNEL_ID_RAW else None
|
||||
|
||||
# ── Pairs & buttons ───────────────────────────────────────────────────
|
||||
# The scanned pair list is config-driven: `scanning.pairs` in config.json
|
||||
# (read via app_config) is the single switch for single- vs multi-pair
|
||||
# operation — `apply_pair_overrides` stamps it onto PlatformConfig.scan_pairs
|
||||
# so the two stay in sync. Buttons, WS subscriptions, and scan loops all
|
||||
# derive from it.
|
||||
# The scanned pair list is config.json-driven (`scanning.pairs`, read via
|
||||
# app_config) and is the single switch for single- vs multi-pair operation.
|
||||
# Buttons, WS subscriptions, and scan loops all derive from it.
|
||||
|
||||
SCAN_PAIRS = list(_APP.scan_pairs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user