Strip items
This commit is contained in:
parent
60782c5e92
commit
f66585ca29
2
fw2ft.py
2
fw2ft.py
@ -218,7 +218,7 @@ def parseGDEF(lines):
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
def compile(s):
|
def compile(s):
|
||||||
lines = (line.split('\t') for line in re.split('\r?\n?', s))
|
lines = ([s.strip() for s in line.split('\t')] for line in re.split('\r?\n?', s))
|
||||||
line = next(lines)
|
line = next(lines)
|
||||||
assert line[0][:9] == 'FontDame ', line
|
assert line[0][:9] == 'FontDame ', line
|
||||||
assert line[0][13:] == ' table', line
|
assert line[0][13:] == ' table', line
|
||||||
|
Loading…
x
Reference in New Issue
Block a user