Skip to content

Commit

Permalink
Fix ps3 path
Browse files Browse the repository at this point in the history
  • Loading branch information
sondregronas committed Mar 14, 2024
1 parent 2432178 commit cfd31c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rom_detective/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def index_ps3_folder(path: str, children: int = 2) -> list[PS3Item]:
PS3 game ids are always 9ch in length
"""
return [PS3Item(f"{directory}\\{os.path.basename(directory)}")
return [PS3Item(f"{directory}")
for directory in list_subfolders(path, children=children)
if len(os.path.basename(directory)) == 9]

Expand Down

0 comments on commit cfd31c5

Please sign in to comment.