...
 
Commits (2)
......@@ -231,8 +231,6 @@ class Config(object):
else:
filename = rawname + extension
self.writeToFile(text, filename)
if hasattr(self, 'save_hook'):
self.save_hook(realtime_update=realtime_update)
return results
def writeToFile(self, string, filename):
"""Write a given string to a file"""
......@@ -331,6 +329,8 @@ class MeetingCommands(object):
for messageline in message.split('\n'):
self.reply(messageline)
self._meetingIsOver = True
if hasattr(self.config, 'save_hook'):
self.config.save_hook(realtime_update=False)
def do_topic(self, nick, line, **kwargs):
"""Set a new topic in the channel."""
if not self.isChair(nick): return
......
......@@ -39,8 +39,15 @@ class Config(object):
filenamePattern = '%(channel)s/%%Y/%(channel)s.%%F-%%H.%%M'
logFileDir = './meetings'
logURLPrefix = ''
MeetBotInfoURL = 'http://meetbot.debian.net/Manual.html#commands'
MeetBotInfoURL = 'https://wiki.mahara.org/wiki/Developer_Area/Developer_Meetings/Chair_Duties#Meetbot_commands'
endMeetingMessage = ("Meeting ended %(endtime)s %(timeZone)s. "
"Information about MeetBot at %(MeetBotInfoURL)s . "
"(v %(__version__)s)\n"
"Minutes: http://meetbot.mahara.org/%(urlBasename)s.html\n"
"Minutes (text): http://meetbot.mahara.org/%(urlBasename)s.txt\n"
"Log: http://meetbot.mahara.org/%(urlBasename)s.log.html")
# A hook method to perform an action when MeetBot is done saving new files
# We'll use it to sync the files into git.
#
......