Fixed DCM error line number not properly reseted

This commit is contained in:
SET 2020-08-15 11:03:12 -03:00
parent 6c4df66aeb
commit 10c910fa39
1 changed files with 1 additions and 0 deletions

View File

@ -495,6 +495,7 @@ class DocLib(object):
""" Populates the class, file must exist """
logger.debug('Loading doc-lib `{}`'.format(file))
global _sch_file_name
global _sch_line_number
_sch_file_name = file
with open(file, 'rt') as f:
_sch_line_number = 0