We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdf4296 commit d04fc10Copy full SHA for d04fc10
1 file changed
src/coltrane/config/redirects.py
@@ -20,7 +20,7 @@ def get_redirects() -> Generator[Redirect, None, None]:
20
if not redirects_json_path.exists():
21
return
22
23
- with redirects_json_path as f:
+ with open(redirects_json_path) as f:
24
paths = msgspec.json.decode(f.read_bytes(), type=Annotated[dict[str, str | Redirect], msgspec.Meta()])
25
26
for from_url, to_url in paths.items():
0 commit comments