[ck2cti] Fix error message produced when the input file is unreadable

This commit is contained in:
Ray Speth 2014-09-07 21:16:46 +00:00
parent e0527bc899
commit e65539833d

View file

@ -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