mirror of
https://github.com/google/fonts.git
synced 2024-11-28 19:03:01 +03:00
Merge pull request #218 from google/fix-addfont
tools/add_font.py Fix bug with directory path
This commit is contained in:
commit
ec6dc7d4d5
@ -143,7 +143,7 @@ def main(argv):
|
||||
if os.path.isfile(desc):
|
||||
print 'DESCRIPTION.en_us.html exists'
|
||||
else:
|
||||
_WriteTextFile(os.path.join(fontdir, desc), 'N/A')
|
||||
_WriteTextFile(desc, 'N/A')
|
||||
|
||||
_WriteTextFile(os.path.join(fontdir, 'METADATA.pb'), text_proto)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user