diff --git a/red_fam.py b/red_fam.py index 8a7b20f..8a77856 100644 --- a/red_fam.py +++ b/red_fam.py @@ -69,6 +69,7 @@ class RED_FAM_PARSER( RED_FAM ): # Textpattern for recognisation of done-notices __done_notice = ":Archivierung dieses Abschnittes wurde gewünscht von:" + __done_notice2 = "{{Erledigt|" def __init__( self, red_fam_heading, red_page_id, red_page_archive, beginning, ending=None ): """ @@ -264,7 +265,7 @@ class RED_FAM_PARSER( RED_FAM ): @returns str Timestamp, otherwise None """ - if cls.__done_notice in line: + if ( cls.__done_notice in line ) or ( cls.__done_notice2 in line ): result = cls.__timestamp_pat.search( line ) if result: return result.group()