fix bug in pngwriter

This commit is contained in:
Kevin Gibbons 2022-08-29 13:01:16 -07:00
parent 0173d3a8fc
commit 18597ad1d9

View File

@ -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)