Skip to content

Commit

Permalink
Update strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsmkn committed Dec 16, 2023
1 parent 3044fb7 commit a9852c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sagemaker_shim/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def clean_io(self) -> None:

def _clean_path(self, *, path: Path) -> None:
"""Removes contents of a directory, keeping the parent"""
for f in path.glob("**/*"):
for f in path.glob("*"):
if f.is_file():
f.chmod(0o700)
f.unlink()
Expand Down

0 comments on commit a9852c5

Please sign in to comment.