detect: remove leftover if-True indent marker

Dead syntax left over from a prior refactor. No behavior change.
This commit is contained in:
pax 2026-04-15 17:34:27 -05:00
parent cf8bc0ad89
commit 0f26475f52
2 changed files with 67 additions and 67 deletions

View File

@ -11,6 +11,7 @@
### Refactored ### Refactored
- `category_fetcher` batch tag-API params are now built by a shared `_build_tag_api_params` helper instead of duplicated across `fetch_via_tag_api` and `_probe_batch_api` - `category_fetcher` batch tag-API params are now built by a shared `_build_tag_api_params` helper instead of duplicated across `fetch_via_tag_api` and `_probe_batch_api`
- `detect.detect_site_type` — removed the leftover `if True:` indent marker; no behavior change
## v0.2.7 ## v0.2.7

View File

@ -46,7 +46,6 @@ async def detect_site_type(
limits=httpx.Limits(max_connections=10, max_keepalive_connections=5), limits=httpx.Limits(max_connections=10, max_keepalive_connections=5),
) )
client = _BC._shared_client client = _BC._shared_client
if True: # keep indent level
# Try Danbooru / e621 first — /posts.json is a definitive endpoint # Try Danbooru / e621 first — /posts.json is a definitive endpoint
try: try:
params: dict = {"limit": 1} params: dict = {"limit": 1}