mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-20 14:27:42 +00:00
flynt pass to provide consistency to string formatters and concatenation
This commit is contained in:
@@ -15,7 +15,7 @@ class V1RedirectHandler(tornado.web.RequestHandler):
|
||||
async def _proxy(self, path):
|
||||
new_url = f"{self.request.protocol}://{self.request.host}/api/v2/{path}"
|
||||
if self.request.query:
|
||||
new_url += "?" + self.request.query
|
||||
new_url += f"?{self.request.query}"
|
||||
|
||||
client = AsyncHTTPClient()
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user