Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 committed Sep 13, 2024
1 parent d81082c commit e79453f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions horde/database/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -841,9 +841,9 @@ def get_sorted_wp_filtered_to_worker(worker, models_list=None, blacklist=None, p
ImageWaitingPrompt.slow_workers == True, # noqa E712
),
or_(
worker.extra_slow_worker.is_(False),
worker.extra_slow_worker is False,
and_(
worker.extra_slow_worker.is_(True),
worker.extra_slow_worker is True,
ImageWaitingPrompt.extra_slow_workers.is_(True),
),
),
Expand Down

0 comments on commit e79453f

Please sign in to comment.