Skip to content

Commit

Permalink
Change source name before skipping merge logic
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Sep 5, 2024
1 parent 1d670ec commit c3ce725
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 @@ -116,11 +116,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 c3ce725

Please sign in to comment.