forked from Hay1tsme/artemis
[core] Address SQLAlchemy deprecations
This commit is contained in:
@ -111,7 +111,7 @@ class FrontendServlet():
|
||||
self.arcade = FE_Arcade(cfg, self.environment)
|
||||
self.machine = FE_Machine(cfg, self.environment)
|
||||
|
||||
def get_routes(self) -> List[Route]:
|
||||
def get_routes(self) -> List[Union[Route, Mount]]:
|
||||
g_routes = []
|
||||
for nav_name, g_data in self.environment.globals["game_list"].items():
|
||||
g_routes.append(Mount(g_data['url'], routes=g_data['class'].get_routes()))
|
||||
|
Reference in New Issue
Block a user