Skip to content

Commit

Permalink
fix [Bug]: params.extend(req.save_final_enhanced_image_only) TypeErro…
Browse files Browse the repository at this point in the history
…r: 'bool' object is not iterable #41
  • Loading branch information
mrhan1993 committed Dec 7, 2024
1 parent 6d1c4b1 commit 8b68243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/utils/api_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def params_to_params(req: object) -> list:
req.inpaint_erode_or_dilate
])
if not args.disable_image_log:
params.extend(req.save_final_enhanced_image_only)
params.extend([req.save_final_enhanced_image_only])
if not args.disable_metadata:
params.extend([
req.save_metadata_to_images,
Expand Down

0 comments on commit 8b68243

Please sign in to comment.