mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-29 04:48:54 -06:00
refactor: type romfolders and hash tooling
This commit is contained in:
1 parent
9af72a1ffb
commit
4fdc100197
10 files changed
+161
-135
No files matched your search
@@ -20,12 +20,11 @@ from collections.abc import Callable
|
||||
from dataclasses import dataclass, field
|
||||
from pathlib import Path
|
||||
|
||||
_SCRIPTS_DIR = str(Path(__file__).resolve().parents[2])
|
||||
if _SCRIPTS_DIR not in sys.path:
|
||||
if (_SCRIPTS_DIR := str(Path(__file__).resolve().parents[2])) not in sys.path:
|
||||
sys.path.insert(0, _SCRIPTS_DIR)
|
||||
|
||||
import upstream # noqa: E402
|
||||
from safeparse import yaml_load # noqa: E402
|
||||
import upstream
|
||||
from safeparse import yaml_load
|
||||
|
||||
CACHE_DIR = upstream.CACHE_DIR
|
||||
|
||||
|
||||
Reference in new issue
Block a user