Skip to content

Commit

Permalink
fixed typo that started an infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederickDeny committed Mar 7, 2024
1 parent 03b0036 commit 98ffd6f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions e4s_cl/cf/containers/barebones.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,11 @@ def list_directory_sofiles(self, path: Path):
A list of paths of the so files in the given directory.
"""
file_paths = list_directory_files(path)
sofile_paths = []
for file_path in file_paths:
if '.so' in file_path.suffixes: # Check if it is a library file
file_paths.append(file_path.absolute())
return file_paths
sofile_paths.append(file_path.absolute())
return sofile_paths

def _prepare(self, command: List[str], overload: bool = True) -> List[str]:
"""
Expand Down

0 comments on commit 98ffd6f

Please sign in to comment.