mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 12:19:06 +00:00
Fix linting
This commit is contained in:
@@ -97,7 +97,7 @@ class MeetingController:
|
||||
"""
|
||||
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)
|
||||
|
||||
async def get_by_room_name(
|
||||
@@ -124,7 +124,7 @@ class MeetingController:
|
||||
.where(
|
||||
sa.and_(
|
||||
meetings.c.room_id == room.id,
|
||||
meetings.c.is_active == True,
|
||||
meetings.c.is_active,
|
||||
meetings.c.end_date > current_time,
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user