fix(nodes): use absolute path when deleting

This commit is contained in:
psychedelicious 2023-04-27 12:59:49 +10:00
parent 99392debe8
commit a824f47bc6

View File

@ -187,7 +187,9 @@ class DiskImageStorage(ImageStorageBase):
else:
path = os.path.join(self.__output_folder, image_type, basename)
return path
abspath = os.path.abspath(path)
return abspath
def get_uri(
self, image_type: ImageType, image_name: str, is_thumbnail: bool = False