Fixed SCH "Image" load
This commit is contained in:
parent
148b4887ce
commit
4502860f79
|
|
@ -840,7 +840,7 @@ class SchematicBitmap(object):
|
||||||
def load(f):
|
def load(f):
|
||||||
# Position
|
# Position
|
||||||
line = _get_line(f)
|
line = _get_line(f)
|
||||||
res = _split_space(line.split)
|
res = _split_space(line)
|
||||||
if len(res) != 3:
|
if len(res) != 3:
|
||||||
raise SchFileError('Malformed bitmap position', line, _sch_line_number)
|
raise SchFileError('Malformed bitmap position', line, _sch_line_number)
|
||||||
if res[0] != 'Pos':
|
if res[0] != 'Pos':
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue