commit | 271f25feed0772ed1049363d73f36e8ade1c935f | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Thu Nov 14 21:57:25 2013 -0500 |
committer | Behdad Esfahbod <behdad@behdad.org> | Thu Nov 14 21:57:25 2013 -0500 |
tree | 978a60cd13855dbdd8d9df375c87ffa025c449b3 | |
parent | 2ee85985e4e995bafa90a1da9ec720f4aedb6792 [diff] [blame] |
More fixup
diff --git a/Lib/fontTools/ttx.py b/Lib/fontTools/ttx.py index 4621d6a..aa5655e 100644 --- a/Lib/fontTools/ttx.py +++ b/Lib/fontTools/ttx.py
@@ -89,8 +89,8 @@ file, ext = os.path.splitext(file) if outputDir: dir = outputDir - output = os.path.join(dir, file + extension) file = numberAddedRE.split(file)[0] + output = os.path.join(dir, file + extension) n = 1 while os.path.exists(output): output = os.path.join(dir, file + "#" + repr(n) + extension)