1
0
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:
rsheeter 2016-03-08 12:46:35 -08:00
commit ec6dc7d4d5

View File

@ -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)