shortened
This commit is contained in:
parent
57e8fe2b8a
commit
1e3780b069
|
@ -254,10 +254,8 @@ class Table:
|
|||
f.seek(0)
|
||||
|
||||
comments = []
|
||||
line = f.readline().strip()
|
||||
while line.startswith('#'):
|
||||
while (line := f.readline().strip()).startswith('#'):
|
||||
comments.append(line.lstrip('#').strip())
|
||||
line = f.readline().strip()
|
||||
labels = line.split()
|
||||
|
||||
shapes = {}
|
||||
|
|
Loading…
Reference in New Issue