mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-20 10:23:16 -05:00
fix: name a missing database in one error line
This commit is contained in:
1 parent
9579f6c449
commit
4240c98359
7 files changed
+78
-16
No files matched your search
@@ -78,8 +78,9 @@ def main(argv: list[str] | None = None) -> None:
|
||||
profiles = load_emulator_profiles(args.emulators_dir)
|
||||
|
||||
# Load database (optional)
|
||||
# The default may be absent; a --db that was named must exist.
|
||||
db: dict | None = None
|
||||
if os.path.exists(args.db):
|
||||
if args.db != DEFAULT_DB_FILE or os.path.exists(args.db):
|
||||
db = load_database(args.db)
|
||||
|
||||
# Determine platforms
|
||||
|
||||
Reference in new issue
Block a user