mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-05 12:18:21 +02:00
added a point that could help for track file format that could have the same name but with a suffix
This commit is contained in:
parent
66ced040d7
commit
2bb04dd97c
1 changed files with 2 additions and 2 deletions
|
@ -282,7 +282,7 @@ class ModConfig:
|
||||||
|
|
||||||
# prepare the default track
|
# prepare the default track
|
||||||
default_track_file: Path = next(
|
default_track_file: Path = next(
|
||||||
track_directory.rglob(f"{self.default_track.repr_format(self, self.track_file_template)}*")
|
track_directory.rglob(f"{self.default_track.repr_format(self, self.track_file_template)}.*")
|
||||||
)
|
)
|
||||||
|
|
||||||
yield {"description": "normalizing default track"}
|
yield {"description": "normalizing default track"}
|
||||||
|
@ -295,7 +295,7 @@ class ModConfig:
|
||||||
|
|
||||||
for track in self.get_tracks():
|
for track in self.get_tracks():
|
||||||
track_file: Path = next(
|
track_file: Path = next(
|
||||||
track_directory.rglob(f"{track.repr_format(self, self.track_file_template)}*")
|
track_directory.rglob(f"{track.repr_format(self, self.track_file_template)}.*")
|
||||||
)
|
)
|
||||||
|
|
||||||
@threaded
|
@threaded
|
||||||
|
|
Loading…
Reference in a new issue