This commit is contained in:
Richard Heck 2016-06-24 15:03:59 -04:00
parent d9348b8389
commit 92fae708ae

View File

@ -317,7 +317,7 @@ class LyX_base:
line = trim_eol_binary(line)
decoded = line.decode('latin1')
if check_token(decoded, '\\begin_preamble'):
while 1:
while True:
line = self.input.readline()
if not line:
# eof found before end of header