Commit c4c63dd5 authored by Ferdinand Weynschenk's avatar Ferdinand Weynschenk
Browse files

resolve linter

parent 7ad48120
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -88,14 +88,15 @@ def process_batch(p, use_png_info, png_info_props, png_info_dir, input_dir, outp
                    p.sampler_name = parsed_parameters["Sampler"]
                if("Steps" in png_info_props):
                    p.steps = int(parsed_parameters["Steps"])
            except: 
            except Exception as e:
                print(f"batch png info: using ui set prompts; failed to get png info for {image}")
                print(e)
                p.prompt = prompt
                p.negative_prompt = negative_prompt
                p.seed = seed
                p.cfg_scale = cfg_scale
                p.sampler_name = sampler_name
                p.steps = steps
                print(f"batch png info: using ui set prompts; failed to get png info for {image}")

        proc = modules.scripts.scripts_img2img.run(p, *args)
        if proc is None:
+1 −1

File changed.

Contains only whitespace changes.