Skip to content

Commit

Permalink
fix: use updated values for image verification
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin committed Dec 27, 2023
1 parent 32f1019 commit 941d27d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horde_worker_regen/process_management/process_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1801,7 +1801,7 @@ async def _get_source_images(self, job_pop_response: ImageGenerateJobPopResponse

for field in image_fields:
try:
field_value = getattr(job_pop_response, field)
field_value = new_response_dict[field]
if field_value is not None:
image = PIL.Image.open(BytesIO(base64.b64decode(field_value)))
image.verify()
Expand Down

0 comments on commit 941d27d

Please sign in to comment.