fix: name a missing database in one error line

This commit is contained in:
Abdessamad Derraz committed 2026-10-18 08:34:09 +02:00
1 parent 9579f6c449
commit 4240c98359
7 files changed
+78 -16

No files matched your search

+2 -1
View File
@@ -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