mirror of
https://github.com/MiSTer-devel/Distribution_MiSTer.git
synced 2026-05-17 03:03:37 +00:00
Fixing file sorting, using Path API instead.
This commit is contained in:
committed by
GitHub
parent
04589b4848
commit
64ffba0468
2
.github/db_operator.py
vendored
2
.github/db_operator.py
vendored
@@ -74,7 +74,7 @@ def build_database(source_dir: str):
|
||||
] + external_files
|
||||
# We want to place the .rbf files at the end, so that they can receive
|
||||
# the mad terms from the related .mra's
|
||||
all_files.sort(key=lambda t: t[0][-4:].lower() == '.rbf')
|
||||
all_files.sort(key=lambda t: t[0].suffix.lower() == '.rbf')
|
||||
|
||||
builder = DatabaseBuilder(tags)
|
||||
for file, description, filter_terms in all_files:
|
||||
|
||||
Reference in New Issue
Block a user