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:
parent
c7c958c835
commit
938d294859
@ -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