Skip to content

Commit

Permalink
Change source name before skipping merge logic (#1024)
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens authored Sep 5, 2024
1 parent 184c192 commit 71675ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/gftools/subsetmerger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 71675ad

Please sign in to comment.