Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
michalkrzem committed Feb 20, 2025
1 parent 98b2092 commit cfb671e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ def get_queue_info(self, ursadb_id: str) -> QueueStatusDatabaseSchema:
func.min(QueuedFile.created_at),
func.max(QueuedFile.created_at),
).where(QueuedFile.ursadb_id == ursadb_id)
queue_info = session.exec(query).first()
queue_info = session.exec(query).one()

queue_status = QueueStatusDatabaseSchema(
size=queue_info[0],
Expand Down

0 comments on commit cfb671e

Please sign in to comment.