From ac392e800965a8afeb3f377af24e6ab8d07a017d Mon Sep 17 00:00:00 2001 From: raileo98 <164594063+raileo98@users.noreply.github.com> Date: Wed, 23 Oct 2024 02:21:43 +0000 Subject: [PATCH] Update rthk.py --- code/rthk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/rthk.py b/code/rthk.py index 9fff9dc28..291e2196e 100644 --- a/code/rthk.py +++ b/code/rthk.py @@ -416,8 +416,8 @@ async def optimize_image_quality(imgUrl): latest_imgUrl = imgUrl.replace('n=-1', f'n=-1&q=1') latestAvailableQ = None -# 在函數開始時新增一個布林變數 -has_matched_condition = False + # 在函數開始時新增一個布林變數 + has_matched_condition = False while True: imgUrlWithQ = imgUrl.replace('n=-1', f'n=-1&q={q}')