1
0
mirror of https://github.com/google/fonts.git synced 2024-12-01 11:14:14 +03:00

tools/add_font.py Fix bug with directory path

This commit is contained in:
Dave Crossland 2016-02-29 23:27:37 -05:00
parent c7c958c835
commit 938d294859

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)