Update file_navigator.py

This commit is contained in:
Anthony Samms
2026-01-14 13:08:18 -05:00
parent 9c846b8b12
commit 0e8e616576

View File

@@ -1451,6 +1451,8 @@ class FileNavigator:
def process_osz(self, dir_path: Path): def process_osz(self, dir_path: Path):
dir_key = str(dir_path) dir_key = str(dir_path)
if dir_path.iterdir():
name = dir_path.name
for file in dir_path.iterdir(): for file in dir_path.iterdir():
if file.name.endswith('.osu'): if file.name.endswith('.osu'):
with open(file, 'r', encoding='utf-8') as f: with open(file, 'r', encoding='utf-8') as f: