Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 committed Apr 14, 2024
1 parent bf405d6 commit eed2564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horde/classes/stable/waiting_prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def require_upfront_kudos(self, counted_totals, total_threads):
# return(True,max_res)
# if HORDE_UPFRONT_KUDOS_ON_WORKERLIST is set to 1, then specifying a worker allow/deny list requires upfront kudos
logger.debug(len(self.workers))
logger.debug(self.workers)
logger.debug(os.getenv("HORDE_UPFRONT_KUDOS_ON_WORKERLIST", 0))
if os.getenv("HORDE_UPFRONT_KUDOS_ON_WORKERLIST", 0) == 1 and len(self.workers) > 0:
return (True, max_res)
return (False, max_res)
Expand Down

0 comments on commit eed2564

Please sign in to comment.