pokken: restructure database

This commit is contained in:
2023-04-12 02:34:29 -04:00
parent 68e25b9c5e
commit bd356af272
6 changed files with 27 additions and 62 deletions

View File

@ -55,7 +55,7 @@ class AllnetServlet:
self.logger.error("No games detected!")
for _, mod in plugins.items():
if hasattr(mod.index, "get_allnet_info"):
if hasattr(mod, "index") and hasattr(mod.index, "get_allnet_info"):
for code in mod.game_codes:
enabled, uri, host = mod.index.get_allnet_info(
code, self.config, self.config_folder