INNER CODE UNIT · Python

width

shuvonsec/claude-bug-bounty · engine.py:73

    width = max(len(title) + 4, 60)
    print(f"\n{BOLD}{'═' * width}{NC}")
    print(f"{BOLD}  {title}{NC}")
    print(f"{BOLD}{'═' * width}{NC}\n")


def load_config() -> dict:
    if CONFIG.exists():
        try:
            return json.loads(CONFIG.read_text())
        except json.JSONDecodeError as e:
            warn(f"Corrupted config file {CONFIG}, using defaults: {e}")
        except OSError as e:
            warn(f"Could not read config file {CONFIG}: {e}")
    return {}


def save_config(cfg: dict):

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…