mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-19 01:43:25 -05:00
fix: refuse a --bios-dir that does not exist
This commit is contained in:
1 parent
4240c98359
commit
b23f5b04ad
7 files changed
+57
-1
No files matched your search
@@ -151,6 +151,9 @@ def main() -> int:
|
||||
"--strict", action="store_true", help="exit non-zero when any is found"
|
||||
)
|
||||
args = parser.parse_args()
|
||||
from common import require_directory # noqa: PLC0415
|
||||
|
||||
require_directory(args.bios_dir)
|
||||
|
||||
duplicates = scan(args.bios_dir)
|
||||
if args.json:
|
||||
|
||||
Reference in new issue
Block a user