aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorGravatar jesopo2019-09-19 15:30:27 +0100
committerGravatar jesopo2019-09-19 15:30:27 +0100
commite34259f9676969ccd16f5cfcd76413f54213427f (patch)
tree5c56d5fbd7d2805f685ab155744f5b28b6d07be9 /src/utils
parentfedi http headers should be PascalCase (diff)
signature
log call was replaced with Exception but [] on args remained
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/http.py2
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")