Utils: exclude malformed game folders

This commit is contained in:
Hay1tsme 2023-04-15 00:12:45 -04:00
parent 0d5567c990
commit baa885f674

View File

@ -16,6 +16,7 @@ class Utils:
if not dir.startswith("__"):
try:
mod = importlib.import_module(f"titles.{dir}")
if hasattr(mod, "game_codes") and hasattr(mod, "index"): # Minimum required to function
ret[dir] = mod
except ImportError as e: