diff --git a/aurweb/asgi.py b/aurweb/asgi.py index 4fb62bac4707c0c0a91aa77f7ea2751b176610a0..684dc4c420385536541c327a12452b22a2fc4a47 100644 --- a/aurweb/asgi.py +++ b/aurweb/asgi.py @@ -215,8 +215,12 @@ async def http_exception_handler(request: Request, exc: HTTPException) -> Respon try: pkgbase = get_pkg_or_base(matches.group(1)) context["pkgbase"] = pkgbase - context["git_clone_uri_anon"] = aurweb.config.get("options", "git_clone_uri_anon") - context["git_clone_uri_priv"] = aurweb.config.get("options", "git_clone_uri_priv") + context["git_clone_uri_anon"] = aurweb.config.get( + "options", "git_clone_uri_anon" + ) + context["git_clone_uri_priv"] = aurweb.config.get( + "options", "git_clone_uri_priv" + ) except HTTPException: pass