diff --git a/slow/slow.py b/slow/slow.py index 4eee55a..5fccceb 100644 --- a/slow/slow.py +++ b/slow/slow.py @@ -331,7 +331,7 @@ def render( def redirect(location: str): # TODO Move to another module - return Response(307, ["Location: {location}"], b"") + return Response(307, [f"Location: {location}"], b"") def JSONAPI(func): # TODO Move to another module