fix local variable not defined errors (#4376)

This commit is contained in:
Shuchang Zheng
2026-01-01 12:20:09 -08:00
committed by GitHub
parent 12539d27a2
commit b333e4c829
2 changed files with 3 additions and 0 deletions

View File

@@ -926,6 +926,7 @@ class BaseTaskBlock(Block):
current_retry += 1
will_retry = current_retry <= self.max_retries
retry_message = f", retrying task {current_retry}/{self.max_retries}" if will_retry else ""
downloaded_files = []
try:
async with asyncio.timeout(GET_DOWNLOADED_FILES_TIMEOUT):
downloaded_files = await app.STORAGE.get_downloaded_files(