Skip to content

Commit 8247dd2

Browse files
authored
Merge pull request #2152 from FedML-AI/raphael/hot-fix-grammar
[Deploy] Hot fix grammar.
2 parents 5a05310 + f76d88e commit 8247dd2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/fedml/computing/scheduler/scheduler_core/scheduler_base_job_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def get_client_id_list(self, server_edge_id_list):
140140
def unzip_file(zip_file, unzip_file_path) -> str:
141141
unzipped_file_name = ""
142142
if zipfile.is_zipfile(zip_file):
143-
with (zipfile.ZipFile(zip_file, "r") as zipf):
143+
with zipfile.ZipFile(zip_file, "r") as zipf:
144144
zipf.extractall(unzip_file_path)
145145
# Make sure the unzipped file is a directory.
146146
if zipf.namelist()[0].endswith("/"):

0 commit comments

Comments
 (0)