mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(nodes): use absolute path when deleting
This commit is contained in:
parent
99392debe8
commit
a824f47bc6
@ -187,7 +187,9 @@ class DiskImageStorage(ImageStorageBase):
|
|||||||
else:
|
else:
|
||||||
path = os.path.join(self.__output_folder, image_type, basename)
|
path = os.path.join(self.__output_folder, image_type, basename)
|
||||||
|
|
||||||
return path
|
abspath = os.path.abspath(path)
|
||||||
|
|
||||||
|
return abspath
|
||||||
|
|
||||||
def get_uri(
|
def get_uri(
|
||||||
self, image_type: ImageType, image_name: str, is_thumbnail: bool = False
|
self, image_type: ImageType, image_name: str, is_thumbnail: bool = False
|
||||||
|
Loading…
Reference in New Issue
Block a user