Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit f3975b3

Browse files
authored
[Cherry pick] Fix - error in f-string (this time in directory.py) (#300)
* [Fix] - error in f-string log #296 * initial commit
1 parent 460d3f5 commit f3975b3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/sparsezoo/objects/directory.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,7 @@ def download(
181181
logging.error(err)
182182
logging.error(traceback.format_exc())
183183
time.sleep(retry_sleep_sec)
184-
logging.error(
185-
f"Trying attempt {attempt + 1} of {retries}.", attempt + 1, retries
186-
)
184+
logging.error(f"Trying attempt {attempt + 1} of {retries}.")
187185
logging.error("Download retry failed...")
188186
raise Exception("Exceed max retry attempts: {} failed".format(retries))
189187

0 commit comments

Comments
 (0)