Centralize token.txt to project root
- Updated 35 scripts to read token.txt from project root using Path(__file__).resolve().parent.parent / "token.txt" - Removed 6 duplicate token.txt files from subdirectories - Single token.txt in project root serves all scripts Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -6,7 +6,7 @@ from pathlib import Path
|
||||
import requests # 👈 this is new
|
||||
|
||||
# --- Settings ----------------------------------------------------
|
||||
TOKEN_PATH = Path("token.txt") # file contains ONLY the token, no "Bearer "
|
||||
TOKEN_PATH = Path(__file__).resolve().parent.parent / "token.txt"
|
||||
CLINIC_SLUG = "mudr-buzalkova"
|
||||
SHOW_FULL_TOKEN = False # set True if you want to print the full token
|
||||
# -----------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user