diff options
| author | 2019-09-19 15:30:27 +0100 | |
|---|---|---|
| committer | 2019-09-19 15:30:27 +0100 | |
| commit | e34259f9676969ccd16f5cfcd76413f54213427f (patch) | |
| tree | 5c56d5fbd7d2805f685ab155744f5b28b6d07be9 | |
| parent | fedi http headers should be PascalCase (diff) | |
| signature | ||
log call was replaced with Exception but [] on args remained
| -rw-r--r-- | src/utils/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/http.py b/src/utils/http.py index 18a37599..e9cf2ede 100644 --- a/src/utils/http.py +++ b/src/utils/http.py @@ -243,7 +243,7 @@ def request_many(requests: typing.List[Request]) -> typing.Dict[str, Response]: response = await client.fetch(t_request) except: raise RequestManyException( - "request_many failed for %s", [url]) + "request_many failed for %s" % url) headers = utils.CaseInsensitiveDict(dict(response.headers)) data = response.body.decode("utf8") |
