Prevent overwriting of ending with None by only calling RED_FAM_PARSER if there was no ending before
This commit is contained in:
@@ -104,9 +104,8 @@ class RED_PAGE:
|
||||
# Check if we have alredy recognized the beginning date of the discussion (in former iteration) or if we have a done-notice
|
||||
if not beginning:
|
||||
beginning = RED_FAM_PARSER.is_beginning( line )
|
||||
else:
|
||||
elif not ending:
|
||||
ending = RED_FAM_PARSER.is_ending( line )
|
||||
|
||||
# Increment line counter
|
||||
i += 1
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user