From 18597ad1d98548238b3833b9751bd411ede0f397 Mon Sep 17 00:00:00 2001 From: Kevin Gibbons Date: Mon, 29 Aug 2022 13:01:16 -0700 Subject: [PATCH] fix bug in pngwriter --- ldm/dream/pngwriter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ldm/dream/pngwriter.py b/ldm/dream/pngwriter.py index 584d4479ba..8b1fc230ff 100644 --- a/ldm/dream/pngwriter.py +++ b/ldm/dream/pngwriter.py @@ -73,6 +73,7 @@ class PngWriter: if upscaled: break filename = f'{basecount:06}.{seed}.{series:02}.png' + path = os.path.join(self.outdir, filename) finished = not os.path.exists(path) return os.path.join(self.outdir, filename)