diff --git a/Lib/gftools/subsetmerger.py b/Lib/gftools/subsetmerger.py index 42f20f5d..47d410bd 100644 --- a/Lib/gftools/subsetmerger.py +++ b/Lib/gftools/subsetmerger.py @@ -122,11 +122,11 @@ def add_subsets(self): for master in ds.sources: newpath = os.path.join(outpath, os.path.basename(master.path)) target_ufo = open_ufo(master.path) + master.path = newpath + if master.layerName is not None: continue - master.path = newpath - for subset in self.subsets: added_subsets |= self.add_subset(target_ufo, ds, master, subset)