Skip to content

Commit

Permalink
made minor chages
Browse files Browse the repository at this point in the history
  • Loading branch information
natsag2000 committed Sep 28, 2010
1 parent e1edb78 commit 0e2ce7e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions fontcreator/mongoluseg.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,8 @@ def main():
usegdesc = readlines(USEG_DESC)
atoms = read_atoms(usegatoms)
descs = read_desc(usegdesc)
#for k, v in descs.items():
# print k, ' = ', v
useg_uusge(atoms, descs, GLYPH_OUT)

# TODO: check file if exits!
def useg_uusge(Atoms, Desc, AFolder):
atomkeys = Atoms.keys()
for Name, Instr in Desc.items():
Expand All @@ -36,7 +33,7 @@ def useg_uusge(Atoms, Desc, AFolder):
if not I in atomkeys:
print Name, ':', "Key not found: ", I
break
if I == ' ':
if I == ' ' or I == '':
continue
li.append(AFolder+'/' + Atoms[I] + '.svg')
Cmd = 'pythonx ' + " ".join(li) + ' > ' + AFolder +'/'+Name + '.svg'
Expand Down

0 comments on commit 0e2ce7e

Please sign in to comment.