Able to be edited, other cleanup
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import yaml
|
||||
from pathlib import Path
|
||||
|
||||
_cfg = yaml.safe_load(Path("config.yaml").read_text())
|
||||
USERNAME: str = _cfg["username"]
|
||||
PASSWORD: str = _cfg["password"]
|
||||
BASE_URL: str = _cfg["base_url"].rstrip("/")
|
||||
PORT: int = _cfg.get("port", 8000)
|
||||
OUTPUTS = Path("outputs")
|
||||
MTG_BACK = "https://upload.wikimedia.org/wikipedia/en/a/aa/Magic_the_Gathering_card_back.jpg"
|
||||
Reference in New Issue
Block a user