diff options
author | Richard Darst <rkd@zgib.net> | 2009-07-06 23:34:07 (GMT) |
---|---|---|
committer | Richard Darst <rkd@zgib.net> | 2009-07-06 23:34:07 (GMT) |
commit | 7345028a0a903ef434d153ebdb7a039f6f4d247e (patch) | |
tree | ee491f99e6b96419b9eb890b0c3ae11bbdc336e4 /meeting.py | |
parent | 8ff681301eed8c9384c3e015ee989da8661afbe2 (diff) |
update to config variables and initialization
darcs-hash:20090706233407-82ea9-1ccb2a78d350c992ce0e513ec6d98a52d976824e.gz
Diffstat (limited to 'meeting.py')
-rw-r--r-- | meeting.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -67,8 +67,6 @@ class Config(object): # regular expression for parsing commands. First group is the cmd name, # second group is the rest of the line. command_RE = re.compile(r'#([\w]+)[ \t]*(.*)') - # This is the help printed when a meeting starts - usefulCommands = "#action #agreed #halp #info #idea #link #topic" # The channels which won't have date/time appended to the filename. specialChannels = ("#meetbot-test", "#meetbot-test2") specialChannelFilenamePattern = '%(channel)s/%(channel)s' @@ -103,6 +101,8 @@ class Config(object): def __init__(self, M): self.M = M + if hasattr(self, "init"): + self.init() def filename(self, url=False): # provide a way to override the filename. If it is # overridden, it must be a full path (and the URL-part may not |