[ck2cti] Fix error message produced when the input file is unreadable
This commit is contained in:
parent
e0527bc899
commit
e65539833d
1 changed files with 1 additions and 1 deletions
|
|
@ -1358,9 +1358,9 @@ class Parser(object):
|
|||
"""
|
||||
|
||||
transportLines = []
|
||||
self.line_number = 0
|
||||
|
||||
with open(path, 'rU') as ck_file:
|
||||
self.line_number = 0
|
||||
|
||||
def readline():
|
||||
self.line_number += 1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue