Skip to content

Commit c1e37af

Browse files
committed
Nit.
1 parent 600905f commit c1e37af

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

python/fedml/computing/scheduler/model_scheduler/worker_job_runner.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,9 @@ def find_previous_downloaded_pkg(parent_dir: str, model_name: str) -> str:
521521

522522
exact_matched = False
523523

524+
if unzip_fd == "":
525+
return res
526+
524527
for folder in os.listdir(unzip_fd):
525528
if folder == model_name:
526529
res = os.path.join(unzip_fd, folder)

0 commit comments

Comments
 (0)