[127] fix name path

pull/1340/head
meisnate12 2 years ago
parent e889f4ab9b
commit e9848e385d

@ -1 +1 @@
1.18.3-develop126
1.18.3-develop127

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

Loading…
Cancel
Save