From dd517abe977b4d694e6d9a46e2f553019c13c996 Mon Sep 17 00:00:00 2001 From: nin0dev Date: Wed, 26 Jun 2024 06:17:04 -0400 Subject: [PATCH] Fix f string bug --- videobundler/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/videobundler/main.py b/videobundler/main.py index 92930087..b2312bbe 100644 --- a/videobundler/main.py +++ b/videobundler/main.py @@ -75,7 +75,7 @@ async def merge(request: aiohttp.web.Request): #await response.write_eof() else: # 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"): return web.FileResponse( path=f"{job_id}.mp4"