mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fix unique filename bug
This commit is contained in:
parent
8a517fdc17
commit
87b7446228
@ -60,7 +60,7 @@ class PngWriter:
|
|||||||
basename = os.path.basename(previouspath)
|
basename = os.path.basename(previouspath)
|
||||||
x = re.match('^(\d+)\..*\.png', basename)
|
x = re.match('^(\d+)\..*\.png', basename)
|
||||||
if not x:
|
if not x:
|
||||||
return self.unique_filename(seed, previouspath)
|
return self.unique_filename(seed, upscaled, previouspath)
|
||||||
|
|
||||||
basecount = int(x.groups()[0])
|
basecount = int(x.groups()[0])
|
||||||
series = 0
|
series = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user