Skip to content
Snippets Groups Projects
Commit 9fc43550 authored by Duncan Macleod's avatar Duncan Macleod Committed by Duncan Macleod
Browse files

http: fix ruff lint

parent a35f2f7e
No related branches found
No related tags found
No related merge requests found
......@@ -281,7 +281,7 @@ class HTTPConnection(http_client.HTTPConnection):
path = api.find_times_path(
site,
frametype,
gpsstart or int(1),
gpsstart or 1,
gpsend or int(2e9),
)
segmentlist = self.get_json(path)
......@@ -414,7 +414,7 @@ class HTTPConnection(http_client.HTTPConnection):
return urls
# warn or error on missing
msg = "Missing segments: \n%s" % "\n".join(map(str, missing))
msg = "Missing segments: \n{}".format("\n".join(map(str, missing)))
if on_gaps == "warn":
warnings.warn(msg)
return urls
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment