Skip to content

Commit

Permalink
fix: report problem job only on csam image
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 committed Sep 29, 2024
1 parent 8fab6e4 commit fd43e33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horde/classes/stable/processing_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def set_generation(self, generation, things_per_sec, **kwargs):
record_image_statistic(self)
if self.wp.shared and not self.fake and generation == "R2":
self.upload_generation_metadata()
if state == "csam":
if censored == "csam":
self.wp.user.record_problem_job(
procgen=self,
ipaddr=self.wp.ipaddr,
Expand Down

0 comments on commit fd43e33

Please sign in to comment.