Merge pull request 'Remove duplicate get_opts in Ongeki static' (#228) from Kayori/artemis:smallcleanup into develop

Reviewed-on: https://gitea.tendokyu.moe/Hay1tsme/artemis/pulls/228
This commit is contained in:
Hay1tsme
2025-09-24 00:24:21 +00:00

View File

@@ -604,13 +604,6 @@ class OngekiStaticData(BaseData):
return None
return result.fetchall()
async def get_opts(self) -> Optional[List[Row]]:
result = await self.execute(opts.select())
if result is None:
return None
return result.fetchall()
async def set_opt_enabled(self, opt_id: int, enabled: bool) -> bool:
result = await self.execute(opts.update(opts.c.id == opt_id).values(isEnable=enabled))