Fix linting

This commit is contained in:
2025-01-28 12:51:15 +01:00
parent dd021e9e71
commit 0477c8ec44

View File

@@ -97,7 +97,7 @@ class MeetingController:
""" """
Get active meetings. Get active meetings.
""" """
query = meetings.select().where(meetings.c.is_active == True) query = meetings.select().where(meetings.c.is_active)
return await database.fetch_all(query) return await database.fetch_all(query)
async def get_by_room_name( async def get_by_room_name(
@@ -124,7 +124,7 @@ class MeetingController:
.where( .where(
sa.and_( sa.and_(
meetings.c.room_id == room.id, meetings.c.room_id == room.id,
meetings.c.is_active == True, meetings.c.is_active,
meetings.c.end_date > current_time, meetings.c.end_date > current_time,
) )
) )