shortened

This commit is contained in:
Martin Diehl 2022-02-10 21:31:52 +01:00
parent 57e8fe2b8a
commit 1e3780b069
1 changed files with 1 additions and 3 deletions

View File

@ -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 = {}