Commit 95ed7243 authored by Elizabeth Myers's avatar Elizabeth Myers 💬
Browse files

Minor style fix

parent 371cb00e
......@@ -29,11 +29,11 @@ class ListGroups(Command):
async with async_session() as session:
async with session.begin():
if target == 'user':
stmt = (
select(StorageGroup) .join(
StorageGroupMember,
StorageGroupMember.group_id == StorageGroup.id) .where(
StorageUser.username == client.username))
stmt = (select(StorageGroup).
join(StorageGroupMember,
StorageGroupMember.group_id == StorageGroup.id).
where(StorageUser.username == client.username)
)
else:
stmt = (select(StorageGroup))
result = await session.execute(stmt)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment