mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
Fix linker commands on Royalnet 5.11
This commit is contained in:
parent
67e547480f
commit
4ba0469cf6
1 changed files with 1 additions and 1 deletions
|
@ -21,8 +21,8 @@ class LinkerCommand(rc.Command, metaclass=abc.ABCMeta):
|
||||||
self.updater_task = self.loop.create_task(self.run_updater())
|
self.updater_task = self.loop.create_task(self.run_updater())
|
||||||
|
|
||||||
async def run(self, args: rc.CommandArgs, data: rc.CommandData) -> None:
|
async def run(self, args: rc.CommandArgs, data: rc.CommandData) -> None:
|
||||||
author = await data.get_author(error_if_none=True)
|
|
||||||
async with data.session_acm() as session:
|
async with data.session_acm() as session:
|
||||||
|
author = await data.find_author(session=session, required=True)
|
||||||
if len(args) == 0:
|
if len(args) == 0:
|
||||||
message = []
|
message = []
|
||||||
for obj in await self.get_updatables_of_user(session=session, user=author):
|
for obj in await self.get_updatables_of_user(session=session, user=author):
|
||||||
|
|
Loading…
Reference in a new issue