fix local variable not defined errors (#4376)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user