mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-24 10:37:54 -06:00
refactor: split scraper cli and platform scrapers
This commit is contained in:
1 parent
fbf7ae826d
commit
9af72a1ffb
14 files changed
+491
-377
No files matched your search
@@ -74,7 +74,7 @@ def discover_target_scrapers() -> dict[str, type]:
|
||||
if _scrapers:
|
||||
return _scrapers
|
||||
package_dir = Path(__file__).parent
|
||||
for finder, name, ispkg in pkgutil.iter_modules([str(package_dir)]):
|
||||
for _finder, name, _ispkg in pkgutil.iter_modules([str(package_dir)]):
|
||||
if not name.endswith("_targets_scraper"):
|
||||
continue
|
||||
module = importlib.import_module(f".{name}", package=__package__)
|
||||
|
||||
Reference in new issue
Block a user