mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
Fix unique filename bug
This commit is contained in:
@@ -60,7 +60,7 @@ class PngWriter:
|
||||
basename = os.path.basename(previouspath)
|
||||
x = re.match('^(\d+)\..*\.png', basename)
|
||||
if not x:
|
||||
return self.unique_filename(seed, previouspath)
|
||||
return self.unique_filename(seed, upscaled, previouspath)
|
||||
|
||||
basecount = int(x.groups()[0])
|
||||
series = 0
|
||||
|
||||
Reference in New Issue
Block a user