import_outline: ignore ^

This commit is contained in:
Costa Shulyupin 2019-11-06 11:17:07 +02:00
parent fbb1b651db
commit 11f1f1db5e
1 changed files with 3 additions and 1 deletions

View File

@ -647,7 +647,9 @@ def import_outline(a=None):
id = str(m.group(2))
else:
raise Exception(line)
if not id:
continue
id = re.sub(' \^$', '', id)
if n <= nprev:
stack = stack[:n - nprev - 1]
# print(n, id, stack)