Changes for new jogobot-module

This commit is contained in:
2016-02-29 11:35:48 +01:00
parent b26f04db8c
commit 24adafeee7
2 changed files with 4 additions and 3 deletions

View File

@@ -121,13 +121,14 @@ class RedFamParser( RedFam ):
"""
# Define the timestamp format
__timestamp_format = jogobot.timestamp_format
__timestamp_format = jogobot.config['redundances']['timestamp_format']
# Define section heading re.pattern
__sectionhead_pat = re.compile( r"^(=+)(.*\[\[.+\]\].*\[\[.+\]\].*)\1" )
# Define timestamp re.pattern
__timestamp_pat = re.compile( jogobot.timestamp_regex )
__timestamp_pat = re.compile( jogobot.config['redundances']
['timestamp_regex'] )
# Textpattern for recognisation of done-notices
__done_notice = ":<small>Archivierung dieses Abschnittes \