1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 03:34:46 -05:00

Fix f string bug

This commit is contained in:
nin0dev 2024-06-26 06:17:04 -04:00
parent 1e0d1f77f9
commit dd517abe97

View file

@ -75,7 +75,7 @@ async def merge(request: aiohttp.web.Request):
#await response.write_eof() #await response.write_eof()
else: else:
# Likely to be chromium browser, so to avoid browser shitting itself we download file # Likely to be chromium browser, so to avoid browser shitting itself we download file
job_id = f"{request.rel_url.query["id"]}_{request.rel_url.query["audio_itag"]}_{request.rel_url.query["video_itag"]}" job_id = f'{request.rel_url.query["id"]}_{request.rel_url.query["audio_itag"]}_{request.rel_url.query["video_itag"]}'
if os.path.isfile(f"{job_id}.mp4"): if os.path.isfile(f"{job_id}.mp4"):
return web.FileResponse( return web.FileResponse(
path=f"{job_id}.mp4" path=f"{job_id}.mp4"