mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 19:50:12 +01:00
Update file_navigator.py
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user