Skip to content

Commit

Permalink
try to fix get site-paclages folder for ubutnu
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmpp committed Mar 28, 2024
1 parent 8b749c3 commit 5c30574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def get_site_package_folder(self):
def find_lib_folder(self, lib_name:str):
dirs = [f for f in os.listdir(self.get_site_package_folder()) if f.startswith(lib_name.replace('-', '_')+'-')]
if len(dirs) == 1:
for f in os.listdir(self.get_site_package_folder()):
for f in os.listdir(os.join(self.get_site_package_folder(),dirs[0])):
print(f"file in dir: {f}")
return dirs[0]
return None
Expand Down

0 comments on commit 5c30574

Please sign in to comment.