mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-15 14:33:47 -06:00
fix: refuse a missing emulator profile directory
This commit is contained in:
1 parent
1c3462e7fd
commit
6445e5d7d6
7 files changed
+91
-21
No files matched your search
@@ -27,6 +27,7 @@ from dataclasses import dataclass
|
||||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
|
||||
import upstream
|
||||
from common import require_directory
|
||||
from safeparse import yaml_load
|
||||
from scraper.mame_parser import _MACHINE_MACROS, strip_comments
|
||||
|
||||
@@ -145,6 +146,7 @@ def main() -> None:
|
||||
help="rewrite the refs the audit can settle",
|
||||
)
|
||||
args = parser.parse_args()
|
||||
require_directory(args.emulators_dir, "--emulators-dir")
|
||||
|
||||
total = 0
|
||||
for name in args.emulators:
|
||||
|
||||
Reference in new issue
Block a user