Skip to content

Commit

Permalink
skip bug in _find_last_index()
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusNyne committed Sep 17, 2024
1 parent 4192fb4 commit ef54f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/!adetailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ def postprocess_image(self, p, pp: PPImage, *args_):
def _find_last_index(self, arg_list):
last_index = 0
for n, args in enumerate(arg_list):
if args.need_skip() and args.ad_solo_generation is False:
if not args.need_skip() and args.ad_solo_generation is False:
last_index = n
return last_index

Expand Down

0 comments on commit ef54f01

Please sign in to comment.