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"')