From e9848e385d3ff230bdf5af0711201210c23342a2 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Fri, 10 Mar 2023 11:59:03 -0500 Subject: [PATCH] [127] fix name path --- VERSION | 2 +- modules/meta.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 4fe63e39..f70f3efc 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.18.3-develop126 +1.18.3-develop127 diff --git a/modules/meta.py b/modules/meta.py index b11bc8e7..6117c8f0 100644 --- a/modules/meta.py +++ b/modules/meta.py @@ -1259,7 +1259,7 @@ class MetadataFile(DataFile): if not files: raise Failed(f"{self.type_str} Error: No Path Found for image_set") file_type, set_file, _, _ = files[0] - folder_name = os.path.splitext(os.path.basename(set_file))[0] + folder_name = os.path.splitext(os.path.basename(self.path))[0] temp_data = self.load_file(file_type, set_file, images=True, folder=f"{folder_name}-sets/") if "set" not in temp_data: raise Failed('Image Set Error: Image sets must use the base attribute "set"')